Uses of Class
ml.dmlc.xgboost4j.java.DMatrix
Packages that use DMatrix
-
Uses of DMatrix in ml.dmlc.xgboost4j.java
Methods in ml.dmlc.xgboost4j.java that return DMatrixModifier and TypeMethodDescriptionDMatrix.slice(int[] rowIndex) Slice the DMatrix and return a new DMatrix that only contains `rowIndex`.Methods in ml.dmlc.xgboost4j.java with parameters of type DMatrixModifier and TypeMethodDescriptionvoidDeprecated.voidUpdate with give grad and hessstatic String[]XGBoost.crossValidation(DMatrix data, Map<String, Object> params, int round, int nfold, String[] metrics, IObjective obj, IEvaluation eval) Cross-validation with given parameters.floatevaluate with predicts and dataEvaluate the Booster model with given dmatrixs.Evaluate the Booster model with given dmatrixs.Booster.evalSet(DMatrix[] evalMatrixs, String[] evalNames, IEvaluation eval) Evaluate the Booster model given customized Evaluation classBooster.evalSet(DMatrix[] evalMatrixs, String[] evalNames, IEvaluation eval, float[] metricsOut) List<float[]>IObjective.getGradient(float[][] predicts, DMatrix dtrain) user define objective function, return gradient and second order gradientfloat[][]Make a prediction with test data in a DMatrix format.float[][]Make a prediction with test data in a DMatrix format and output margin.float[][]Advanced predict function with all the options.float[][]Booster.predictContrib(DMatrix data, int treeLimit) Output feature contributions toward predictions of given datafloat[][]Booster.predictLeaf(DMatrix data, int treeLimit) Predict leaf indices given the datastatic BoosterXGBoost.train(DMatrix dtrain, Map<String, Object> params, int round, Map<String, DMatrix> watches, float[][] metrics, IObjective obj, IEvaluation eval, int earlyStoppingRound) Train a booster given parameters.static BoosterXGBoost.train(DMatrix dtrain, Map<String, Object> params, int round, Map<String, DMatrix> watches, float[][] metrics, IObjective obj, IEvaluation eval, int earlyStoppingRounds, Booster booster) Train a booster given parameters.static BoosterXGBoost.train(DMatrix dtrain, Map<String, Object> params, int round, Map<String, DMatrix> watches, IObjective obj, IEvaluation eval) Train a booster given parameters.static BoosterXGBoost.trainAndSaveCheckpoint(DMatrix dtrain, Map<String, Object> params, int numRounds, Map<String, DMatrix> watches, float[][] metrics, IObjective obj, IEvaluation eval, int earlyStoppingRounds, Booster booster, int checkpointInterval, String checkpointPath, org.apache.hadoop.fs.FileSystem fs) voidUpdate the booster for one iteration.voidBooster.update(DMatrix dtrain, int iter, IObjective obj) Update with customize object functonvoidBooster.update(DMatrix dtrain, IObjective obj) Deprecated.