public class XGBoostUtils
extends java.lang.Object
| Constructor and Description |
|---|
XGBoostUtils() |
| Modifier and Type | Method and Description |
|---|---|
static hex.tree.xgboost.XGBoostUtils.FeatureProperties |
assembleFeatureNames(hex.DataInfo di) |
static ml.dmlc.xgboost4j.java.DMatrix |
convertChunksToDMatrix(hex.DataInfo di,
water.fvec.Chunk[] chunks,
int response,
boolean sparse,
int offset)
convert a set of H2O chunks (representing a part of a vector) to a sparse DMatrix
|
static ml.dmlc.xgboost4j.java.DMatrix |
convertFrameToDMatrix(hex.DataInfo di,
water.fvec.Frame frame,
java.lang.String response,
java.lang.String weight,
java.lang.String offset,
boolean sparse)
convert an H2O Frame to a sparse DMatrix
|
static java.lang.String |
makeFeatureMap(water.fvec.Frame f,
hex.DataInfo di) |
public static java.lang.String makeFeatureMap(water.fvec.Frame f,
hex.DataInfo di)
public static ml.dmlc.xgboost4j.java.DMatrix convertFrameToDMatrix(hex.DataInfo di,
water.fvec.Frame frame,
java.lang.String response,
java.lang.String weight,
java.lang.String offset,
boolean sparse)
throws ml.dmlc.xgboost4j.java.XGBoostError
di - data infoframe - H2O Frame - adapted using a provided data inforesponse - name of the response columnweight - name of the weight columnml.dmlc.xgboost4j.java.XGBoostErrorpublic static ml.dmlc.xgboost4j.java.DMatrix convertChunksToDMatrix(hex.DataInfo di,
water.fvec.Chunk[] chunks,
int response,
boolean sparse,
int offset)
throws ml.dmlc.xgboost4j.java.XGBoostError
ml.dmlc.xgboost4j.java.XGBoostErrorpublic static hex.tree.xgboost.XGBoostUtils.FeatureProperties assembleFeatureNames(hex.DataInfo di)