public class XGModelComposition extends Object implements IgniteModel<NamedVector,Double>
Constructor and Description |
---|
XGModelComposition(Map<String,Integer> dict,
List<DecisionTreeNode> models)
Constructs a new instance of composition of models.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Integer> |
getDict() |
ModelsComposition |
getModelsComposition() |
Double |
predict(NamedVector input)
Make a prediction for the specified input arguments.
|
void |
setModelsComposition(ModelsComposition modelsComposition) |
public XGModelComposition(Map<String,Integer> dict, List<DecisionTreeNode> models)
models
- Basic models.public Double predict(NamedVector input)
predict
in interface Model<NamedVector,Double>
input
- Input arguments.public ModelsComposition getModelsComposition()
public void setModelsComposition(ModelsComposition modelsComposition)
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024