Package org.jpmml.xgboost
Class Dart
- java.lang.Object
-
- org.jpmml.xgboost.GradientBooster
-
- org.jpmml.xgboost.GBTree
-
- org.jpmml.xgboost.Dart
-
- All Implemented Interfaces:
BinaryLoadable,JSONLoadable,UBJSONLoadable
public class Dart extends GBTree
-
-
Constructor Summary
Constructors Constructor Description Dart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithmName()voidloadBinary(XGBoostDataInput input)voidloadJSON(com.google.gson.JsonObject gradientBooster)voidloadUBJSON(com.devsmart.ubjson.UBObject gradientBooster)float[]tree_weights()-
Methods inherited from class org.jpmml.xgboost.GBTree
encodeModel, getSplitCategories, getSplitType, hasCategoricalSplits, num_parallel_tree, num_trees, trees
-
-
-
-
Method Detail
-
getAlgorithmName
public String getAlgorithmName()
- Overrides:
getAlgorithmNamein classGBTree
-
loadBinary
public void loadBinary(XGBoostDataInput input) throws IOException
- Specified by:
loadBinaryin interfaceBinaryLoadable- Overrides:
loadBinaryin classGBTree- Throws:
IOException
-
loadJSON
public void loadJSON(com.google.gson.JsonObject gradientBooster)
- Specified by:
loadJSONin interfaceJSONLoadable- Overrides:
loadJSONin classGBTree
-
loadUBJSON
public void loadUBJSON(com.devsmart.ubjson.UBObject gradientBooster)
- Specified by:
loadUBJSONin interfaceUBJSONLoadable- Overrides:
loadUBJSONin classGBTree
-
tree_weights
public float[] tree_weights()
- Overrides:
tree_weightsin classGBTree
-
-