public class XGBoostLearner extends AbstractLearner<XGBoostModel>
| Constructor and Description |
|---|
XGBoostLearner()
Create a new
XGBoostModel with settings which I took from some Kaggle
posts. |
XGBoostLearner(Map<String,Object> params,
int rounds)
Create a new
XGBoostLearner instance with the supplied parameters. |
XGBoostLearner(Map<String,Object> params,
int rounds,
ml.dmlc.xgboost4j.java.IEvaluation evaluation)
Create a new
XGBoostLearner instance with the supplied parameters and
a custom evaluation function. |
| Modifier and Type | Method and Description |
|---|---|
XGBoostModel |
train(Dataset dataset) |
XGBoostModel |
train(Dataset training,
Dataset validation) |
toString, trainpublic XGBoostLearner(Map<String,Object> params, int rounds, ml.dmlc.xgboost4j.java.IEvaluation evaluation)
XGBoostLearner instance with the supplied parameters and
a custom evaluation function.params - The parameters, see
XGBoost Parameters for a description of all available
parameters.rounds - The number of rounds for boosting.evaluation - The evaluation function.public XGBoostLearner(Map<String,Object> params, int rounds)
XGBoostLearner instance with the supplied parameters.params - The parameters, see
XGBoost Parameters for a description of all available
parameters.rounds - The number of rounds for boosting.public XGBoostLearner()
XGBoostModel with settings which I took from some Kaggle
posts.public XGBoostModel train(Dataset training, Dataset validation)
train in interface Learner<XGBoostModel>train in class AbstractLearner<XGBoostModel>public XGBoostModel train(Dataset dataset)
Copyright © 2018. All rights reserved.