Package ml.dmlc.xgboost4j.java
Class XGBoost.CVPack
java.lang.Object
ml.dmlc.xgboost4j.java.XGBoost.CVPack
- Enclosing class:
- XGBoost
cross validation package for xgb
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneval
(int iter) evaluationeval
(IEvaluation eval) evaluationvoid
update
(int iter) update one iterationvoid
update
(IObjective obj) update one iteration
-
Field Details
-
Constructor Details
-
CVPack
create an cross validation package- Parameters:
dtrain
- train datadtest
- test dataparams
- parameters- Throws:
XGBoostError
- native error
-
-
Method Details
-
update
update one iteration- Parameters:
iter
- iteration num- Throws:
XGBoostError
- native error
-
update
update one iteration- Parameters:
obj
- customized objective- Throws:
XGBoostError
- native error
-
eval
evaluation- Parameters:
iter
- iteration num- Returns:
- evaluation
- Throws:
XGBoostError
- native error
-
eval
evaluation- Parameters:
eval
- customized eval- Returns:
- evaluation
- Throws:
XGBoostError
- native error
-