Esempio n. 1
0
 /**
  * evaluation
  *
  * @param iter iteration num
  * @param eval customized eval
  * @return
  * @throws org.dmlc.xgboost4j.util.XGBoostError
  */
 public String eval(int iter, IEvaluation eval) throws XGBoostError {
   return booster.evalSet(dmats, names, iter, eval);
 }
Esempio n. 2
0
 /**
  * update one iteration
  *
  * @param iter iteration num
  * @param obj customized objective
  * @throws org.dmlc.xgboost4j.util.XGBoostError
  */
 public void update(int iter, IObjective obj) throws XGBoostError {
   booster.update(dtrain, iter, obj);
 }
Esempio n. 3
0
 /**
  * evaluation
  *
  * @param iter iteration num
  * @return
  * @throws org.dmlc.xgboost4j.util.XGBoostError
  */
 public String eval(int iter) throws XGBoostError {
   return booster.evalSet(dmats, names, iter);
 }
Esempio n. 4
0
 /**
  * update one iteration
  *
  * @param iter iteration num
  * @throws org.dmlc.xgboost4j.util.XGBoostError
  */
 public void update(int iter) throws XGBoostError {
   booster.update(dtrain, iter);
 }