示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }