A B C D E F G H I L M P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCEPTED_TYPES - Static variable in class ml.dmlc.xgboost4j.java.Booster.FeatureImportanceType
- allReduce(float[], Rabit.OpType) - Static method in class ml.dmlc.xgboost4j.java.Rabit
-
perform Allreduce on distributed float vectors using operator op.
B
- BITWISE_OR - ml.dmlc.xgboost4j.java.Rabit.OpType
- boost(DMatrix, float[], float[]) - Method in class ml.dmlc.xgboost4j.java.Booster
-
update with give grad and hess
- Booster - Class in ml.dmlc.xgboost4j.java
-
Booster for xgboost, this is a model API that support interactive build of a XGBoost Model
- Booster.FeatureImportanceType - Class in ml.dmlc.xgboost4j.java
-
Supported feature importance types WEIGHT = Number of nodes that a feature was used to determine a split GAIN = Average information gain per split for a feature COVER = Average cover per split for a feature TOTAL_GAIN = Total information gain over all splits of a feature TOTAL_COVER = Total cover over all splits of a feature
C
- CHAR - ml.dmlc.xgboost4j.java.Rabit.DataType
- COVER - Static variable in class ml.dmlc.xgboost4j.java.Booster.FeatureImportanceType
- crossValidation(DMatrix, Map<String, Object>, int, int, String[], IObjective, IEvaluation) - Static method in class ml.dmlc.xgboost4j.java.XGBoost
-
Cross-validation with given parameters.
- CSC - ml.dmlc.xgboost4j.java.DMatrix.SparseType
- CSR - ml.dmlc.xgboost4j.java.DMatrix.SparseType
D
- dispose() - Method in class ml.dmlc.xgboost4j.java.Booster
- dispose() - Method in class ml.dmlc.xgboost4j.java.DMatrix
- DMatrix - Class in ml.dmlc.xgboost4j.java
-
DMatrix for xgboost.
- DMatrix(float[], int, int) - Constructor for class ml.dmlc.xgboost4j.java.DMatrix
-
create DMatrix from dense matrix
- DMatrix(float[], int, int, float) - Constructor for class ml.dmlc.xgboost4j.java.DMatrix
-
create DMatrix from dense matrix
- DMatrix(long) - Constructor for class ml.dmlc.xgboost4j.java.DMatrix
-
used for DMatrix slice
- DMatrix(long[], int[], float[], DMatrix.SparseType) - Constructor for class ml.dmlc.xgboost4j.java.DMatrix
-
Deprecated.
- DMatrix(long[], int[], float[], DMatrix.SparseType, int) - Constructor for class ml.dmlc.xgboost4j.java.DMatrix
-
Create DMatrix from Sparse matrix in CSR/CSC format.
- DMatrix(String) - Constructor for class ml.dmlc.xgboost4j.java.DMatrix
-
Create DMatrix by loading libsvm file from dataPath
- DMatrix(Iterator<LabeledPoint>, String) - Constructor for class ml.dmlc.xgboost4j.java.DMatrix
-
Create DMatrix from iterator.
- DMatrix.SparseType - Enum in ml.dmlc.xgboost4j.java
-
sparse matrix type (CSR or CSC)
- DOUBLE - ml.dmlc.xgboost4j.java.Rabit.DataType
E
- eval(float[][], DMatrix) - Method in interface ml.dmlc.xgboost4j.java.IEvaluation
-
evaluate with predicts and data
- evalSet(DMatrix[], String[], int) - Method in class ml.dmlc.xgboost4j.java.Booster
-
evaluate with given dmatrixs.
- evalSet(DMatrix[], String[], int, float[]) - Method in class ml.dmlc.xgboost4j.java.Booster
-
evaluate with given dmatrixs.
- evalSet(DMatrix[], String[], IEvaluation) - Method in class ml.dmlc.xgboost4j.java.Booster
-
evaluate with given customized Evaluation class
- evalSet(DMatrix[], String[], IEvaluation, float[]) - Method in class ml.dmlc.xgboost4j.java.Booster
F
- FAILURE - ml.dmlc.xgboost4j.java.IRabitTracker.TrackerStatus
- FeatureImportanceType() - Constructor for class ml.dmlc.xgboost4j.java.Booster.FeatureImportanceType
- finalize() - Method in class ml.dmlc.xgboost4j.java.Booster
- finalize() - Method in class ml.dmlc.xgboost4j.java.DMatrix
- FLOAT - ml.dmlc.xgboost4j.java.Rabit.DataType
G
- GAIN - Static variable in class ml.dmlc.xgboost4j.java.Booster.FeatureImportanceType
- getAttr(String) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Get attribute from the Booster.
- getAttrs() - Method in class ml.dmlc.xgboost4j.java.Booster
-
Get attributes stored in the Booster as a Map.
- getBaseMargin() - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
Get base margin of the DMatrix.
- getEnumOp() - Method in enum ml.dmlc.xgboost4j.java.Rabit.DataType
- getFeatureScore(String) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Get importance of each feature
- getFeatureScore(String[]) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Get importance of each feature with specified feature names.
- getGradient(float[][], DMatrix) - Method in interface ml.dmlc.xgboost4j.java.IObjective
-
user define objective function, return gradient and second order gradient
- getHandle() - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
Get the handle
- getHostIp() - Method in class ml.dmlc.xgboost4j.java.TrackerProperties
- getInstance() - Static method in class ml.dmlc.xgboost4j.java.TrackerProperties
- getLabel() - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
get label values
- getMetric() - Method in interface ml.dmlc.xgboost4j.java.IEvaluation
-
get evaluate metric
- getModelDump(String[], boolean) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Get the dump of the model as a string array with specified feature names.
- getModelDump(String[], boolean, String) - Method in class ml.dmlc.xgboost4j.java.Booster
- getModelDump(String, boolean) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Get the dump of the model as a string array
- getModelDump(String, boolean, String) - Method in class ml.dmlc.xgboost4j.java.Booster
- getOperand() - Method in enum ml.dmlc.xgboost4j.java.Rabit.OpType
- getRank() - Static method in class ml.dmlc.xgboost4j.java.Rabit
-
get rank of current thread.
- getScore(String[], String) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Get the feature importances for gain or cover (average or total)
- getScore(String, String) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Get the feature importances for gain or cover (average or total), with feature names
- getSize() - Method in enum ml.dmlc.xgboost4j.java.Rabit.DataType
- getStatusCode() - Method in enum ml.dmlc.xgboost4j.java.IRabitTracker.TrackerStatus
- getVersion() - Method in class ml.dmlc.xgboost4j.java.Booster
- getWeight() - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
get weight of the DMatrix
- getWorkerEnvs() - Method in interface ml.dmlc.xgboost4j.java.IRabitTracker
- getWorkerEnvs() - Method in class ml.dmlc.xgboost4j.java.RabitTracker
-
Get environments that can be used to pass to worker.
- getWorldSize() - Static method in class ml.dmlc.xgboost4j.java.Rabit
-
get world size of current job.
H
I
- IEvaluation - Interface in ml.dmlc.xgboost4j.java
-
interface for customized evaluation
- init(Map<String, String>) - Static method in class ml.dmlc.xgboost4j.java.Rabit
-
Initialize the rabit library on current working thread.
- INT - ml.dmlc.xgboost4j.java.Rabit.DataType
- INTERRUPTED - ml.dmlc.xgboost4j.java.IRabitTracker.TrackerStatus
- IObjective - Interface in ml.dmlc.xgboost4j.java
-
interface for customize Object function
- IRabitTracker - Interface in ml.dmlc.xgboost4j.java
-
Interface for Rabit tracker implementations with three public methods: - start(timeout): Start the Rabit tracker awaiting for worker connections, with a given timeout value (in milliseconds.) - getWorkerEnvs(): Return the environment variables needed to initialize Rabit clients.
- IRabitTracker.TrackerStatus - Enum in ml.dmlc.xgboost4j.java
L
- loadModel(InputStream) - Static method in class ml.dmlc.xgboost4j.java.XGBoost
-
Load a new Booster model from a file opened as input stream.
- loadModel(String) - Static method in class ml.dmlc.xgboost4j.java.XGBoost
-
load model from modelPath
- LONG - ml.dmlc.xgboost4j.java.Rabit.DataType
- LONGLONG - ml.dmlc.xgboost4j.java.Rabit.DataType
M
- MAX - ml.dmlc.xgboost4j.java.Rabit.OpType
- MIN - ml.dmlc.xgboost4j.java.Rabit.OpType
- ml.dmlc.xgboost4j.java - package ml.dmlc.xgboost4j.java
P
- predict(DMatrix) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Predict with data
- predict(DMatrix, boolean) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Predict with data
- predict(DMatrix, boolean, int) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Advanced predict function with all the options.
- predictContrib(DMatrix, int) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Output feature contributions toward predictions of given data
- predictLeaf(DMatrix, int) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Predict leaf indices given the data
R
- Rabit - Class in ml.dmlc.xgboost4j.java
-
Rabit global class for synchronization.
- Rabit() - Constructor for class ml.dmlc.xgboost4j.java.Rabit
- Rabit.DataType - Enum in ml.dmlc.xgboost4j.java
- Rabit.OpType - Enum in ml.dmlc.xgboost4j.java
- RabitTracker - Class in ml.dmlc.xgboost4j.java
-
Java implementation of the Rabit tracker to coordinate distributed workers.
- RabitTracker(int) - Constructor for class ml.dmlc.xgboost4j.java.RabitTracker
- read(Kryo, Input) - Method in class ml.dmlc.xgboost4j.java.Booster
- rowNum() - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
get the row number of DMatrix
S
- saveBinary(String) - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
save DMatrix to filePath
- saveModel(OutputStream) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Save the model to file opened as output stream.
- saveModel(String) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Save model to modelPath
- setAttr(String, String) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Set attribute to the Booster.
- setAttrs(Map<String, String>) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Set attributes to the Booster.
- setBaseMargin(float[]) - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
Set base margin (initial prediction).
- setBaseMargin(float[][]) - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
Set base margin (initial prediction).
- setGroup(int[]) - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
Set group sizes of DMatrix (used for ranking)
- setLabel(float[]) - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
set label of dmatrix
- setParam(String, Object) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Set parameter to the Booster.
- setParams(Map<String, Object>) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Set parameters to the Booster.
- setVersion(int) - Method in class ml.dmlc.xgboost4j.java.Booster
- setWeight(float[]) - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
set weight of each instance
- shutdown() - Static method in class ml.dmlc.xgboost4j.java.Rabit
-
Shutdown the rabit engine in current working thread, equals to finalize.
- slice(int[]) - Method in class ml.dmlc.xgboost4j.java.DMatrix
-
Slice the DMatrix and return a new DMatrix that only contains `rowIndex`.
- start(long) - Method in interface ml.dmlc.xgboost4j.java.IRabitTracker
- start(long) - Method in class ml.dmlc.xgboost4j.java.RabitTracker
- stop() - Method in interface ml.dmlc.xgboost4j.java.IRabitTracker
- stop() - Method in class ml.dmlc.xgboost4j.java.RabitTracker
- SUCCESS - ml.dmlc.xgboost4j.java.IRabitTracker.TrackerStatus
- SUM - ml.dmlc.xgboost4j.java.Rabit.OpType
T
- TIMEOUT - ml.dmlc.xgboost4j.java.IRabitTracker.TrackerStatus
- toByteArray() - Method in class ml.dmlc.xgboost4j.java.Booster
- TOTAL_COVER - Static variable in class ml.dmlc.xgboost4j.java.Booster.FeatureImportanceType
- TOTAL_GAIN - Static variable in class ml.dmlc.xgboost4j.java.Booster.FeatureImportanceType
- trackerPrint(String) - Static method in class ml.dmlc.xgboost4j.java.Rabit
-
Print the message on rabit tracker.
- TrackerProperties - Class in ml.dmlc.xgboost4j.java
- train(DMatrix, Map<String, Object>, int, Map<String, DMatrix>, float[][], IObjective, IEvaluation, int) - Static method in class ml.dmlc.xgboost4j.java.XGBoost
-
Train a booster given parameters.
- train(DMatrix, Map<String, Object>, int, Map<String, DMatrix>, float[][], IObjective, IEvaluation, int, Booster) - Static method in class ml.dmlc.xgboost4j.java.XGBoost
-
Train a booster given parameters.
- train(DMatrix, Map<String, Object>, int, Map<String, DMatrix>, IObjective, IEvaluation) - Static method in class ml.dmlc.xgboost4j.java.XGBoost
-
Train a booster given parameters.
U
- UCHAR - ml.dmlc.xgboost4j.java.Rabit.DataType
- ULONG - ml.dmlc.xgboost4j.java.Rabit.DataType
- ULONGLONG - ml.dmlc.xgboost4j.java.Rabit.DataType
- uncaughtException(Thread, Throwable) - Method in class ml.dmlc.xgboost4j.java.RabitTracker
- UNIT - ml.dmlc.xgboost4j.java.Rabit.DataType
- update(DMatrix, int) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Update the booster for one iteration.
- update(DMatrix, IObjective) - Method in class ml.dmlc.xgboost4j.java.Booster
-
Update with customize obj func
V
- valueOf(String) - Static method in enum ml.dmlc.xgboost4j.java.DMatrix.SparseType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ml.dmlc.xgboost4j.java.IRabitTracker.TrackerStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ml.dmlc.xgboost4j.java.Rabit.DataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ml.dmlc.xgboost4j.java.Rabit.OpType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum ml.dmlc.xgboost4j.java.DMatrix.SparseType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ml.dmlc.xgboost4j.java.IRabitTracker.TrackerStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ml.dmlc.xgboost4j.java.Rabit.DataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ml.dmlc.xgboost4j.java.Rabit.OpType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- versionNumber() - Static method in class ml.dmlc.xgboost4j.java.Rabit
-
Get version number of current stored model in the thread.
W
- waitFor(long) - Method in interface ml.dmlc.xgboost4j.java.IRabitTracker
- waitFor(long) - Method in class ml.dmlc.xgboost4j.java.RabitTracker
- WEIGHT - Static variable in class ml.dmlc.xgboost4j.java.Booster.FeatureImportanceType
- write(Kryo, Output) - Method in class ml.dmlc.xgboost4j.java.Booster
X
- XGBoost - Class in ml.dmlc.xgboost4j.java
-
trainer for xgboost
- XGBoost() - Constructor for class ml.dmlc.xgboost4j.java.XGBoost
- XGBoostError - Exception in ml.dmlc.xgboost4j.java
-
custom error class for xgboost
- XGBoostError(String) - Constructor for exception ml.dmlc.xgboost4j.java.XGBoostError
All Classes All Packages