public static int GetDMatrixRowCount(IntPtr handle) { var error = 0ul; var res = XgBoostWrapper.XGDMatrixNumRow(handle, ref error); return(res); }
public static IntPtr CreateDMatrixFromDenseMatrix(float[] data, int rowCount, int colCount, float missing = float.MinValue) { var res = XgBoostWrapper.XGDMatrixCreateFromMat(data, (ulong)rowCount, (ulong)colCount, missing); return(res); }
public DMatrix(string srcPath, int silent = 1) { XgBoostWrapper.CreateDMatrixFromFile(srcPath, silent); }