public class Dart extends GBTree
GradBooster.Factory| Modifier and Type | Field and Description |
|---|---|
protected int |
num_class |
| Modifier and Type | Method and Description |
|---|---|
void |
loadModel(PredictorConfiguration config,
ModelReader reader,
boolean with_pbuffer)
Loads model from stream.
|
void |
setNumClass(int num_class) |
getGroupedTrees, predict, predictLeaf, predictSinglepublic void loadModel(PredictorConfiguration config, ModelReader reader, boolean with_pbuffer) throws java.io.IOException
GradBoosterloadModel in interface GradBoosterloadModel in class GBTreereader - input streamwith_pbuffer - whether the incoming data contains pbufferjava.io.IOException - If an I/O error occurspublic void setNumClass(int num_class)
setNumClass in interface GradBooster