Class Dart
java.lang.Object
biz.k11i.xgboost.gbm.GBBase
biz.k11i.xgboost.gbm.GBTree
biz.k11i.xgboost.gbm.Dart
- All Implemented Interfaces:
GradBooster, Serializable
-
Nested Class Summary
Nested classes/interfaces inherited from class GBTree
GBTree.ModelParamNested classes/interfaces inherited from interface GradBooster
GradBooster.Factory -
Field Summary
FieldsFields inherited from class GBTree
_groupTrees, mparamFields inherited from class GBBase
num_class, num_feature, num_output_group -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidloadModel(PredictorConfiguration config, ModelReader reader, boolean with_pbuffer) Loads model from stream.(package private) floatfloatweight(int tidx) Methods inherited from class GBTree
getGroupedTrees, predict, predictLeaf, predictLeafPath, predictSingleMethods inherited from class GBBase
setNumClass, setNumFeature
-
Field Details
-
weightDrop
private float[] weightDrop
-
-
Constructor Details
-
Dart
Dart()
-
-
Method Details
-
loadModel
public void loadModel(PredictorConfiguration config, ModelReader reader, boolean with_pbuffer) throws IOException Description copied from interface:GradBoosterLoads model from stream.- Specified by:
loadModelin interfaceGradBooster- Overrides:
loadModelin classGBTree- Parameters:
config- predictor configurationreader- input streamwith_pbuffer- whether the incoming data contains pbuffer- Throws:
IOException- If an I/O error occurs
-
pred
-
weight
public float weight(int tidx)
-