public class XGBoost extends hex.ModelBuilder<XGBoostModel,XGBoostModel.XGBoostParameters,XGBoostOutput>
| Constructor and Description |
|---|
XGBoost(boolean startup_once) |
XGBoost(XGBoostModel.XGBoostParameters parms) |
XGBoost(XGBoostModel.XGBoostParameters parms,
water.Key<XGBoostModel> key) |
| Modifier and Type | Method and Description |
|---|---|
hex.ModelBuilder.BuilderVisibility |
builderVisibility() |
hex.ModelCategory[] |
can_build() |
static ml.dmlc.xgboost4j.java.DMatrix |
convertFrametoDMatrix(water.Key<hex.DataInfo> dataInfoKey,
water.fvec.Frame f,
java.lang.String response,
java.lang.String weight,
java.lang.String fold,
java.lang.String[] featureMap,
boolean sparse)
convert an H2O Frame to a sparse DMatrix
|
static int |
countUnique(int[] unsortedArray) |
boolean |
haveMojo() |
void |
init(boolean expensive)
Initialize the ModelBuilder, validating all arguments and preparing the
training frame.
|
boolean |
isSupervised() |
protected int |
nModelsInParallel() |
protected hex.tree.xgboost.XGBoost.XGBoostDriver |
trainModelImpl()
Start the XGBoost training Job on an F/J thread.
|
algoName, algos, bulkBuildModels, checkDistributions, checkMemoryFootPrint_impl, checkMemoryFootPrint, clearInitState, clearValidationErrors, computeCrossValidation, computePriorClassDistribution, cv_AssignFold, cv_buildModels, cv_computeAndSetOptimalParameters, cv_mainModelScores, cv_makeFramesAndBuilders, cv_makeWeights, cv_scoreCVModels, defaultKey, desiredChunks, dest, error_count, error, get, getToEigenVec, hasFoldCol, hasOffsetCol, hasWeightCol, haveMojo, havePojo, havePojo, hide, ignoreBadColumns, ignoreConstColumns, ignoreInvalidColumns, ignoreStringColumns, info, init_adaptFrameToTrain, isClassifier, isStopped, javaName, logMe, make, message, nclasses, nFoldCV, nFoldWork, numSpecialCols, paramName, rebalance, response, schemaDirectory, separateFeatureVecs, setTrain, shouldReorder, specialColNames, stop_requested, timeout, train, trainModel, trainModelNested, valid, validationErrors, vresponse, warnpublic XGBoost(XGBoostModel.XGBoostParameters parms)
public XGBoost(XGBoostModel.XGBoostParameters parms, water.Key<XGBoostModel> key)
public XGBoost(boolean startup_once)
public boolean haveMojo()
haveMojo in class hex.ModelBuilder<XGBoostModel,XGBoostModel.XGBoostParameters,XGBoostOutput>public hex.ModelBuilder.BuilderVisibility builderVisibility()
builderVisibility in class hex.ModelBuilder<XGBoostModel,XGBoostModel.XGBoostParameters,XGBoostOutput>public static ml.dmlc.xgboost4j.java.DMatrix convertFrametoDMatrix(water.Key<hex.DataInfo> dataInfoKey,
water.fvec.Frame f,
java.lang.String response,
java.lang.String weight,
java.lang.String fold,
java.lang.String[] featureMap,
boolean sparse)
throws ml.dmlc.xgboost4j.java.XGBoostError
f - H2O Frameresponse - name of the response columnweight - name of the weight columnfold - name of the fold assignment columnfeatureMap - featureMap[0] will be populated with the column names and typesml.dmlc.xgboost4j.java.XGBoostErrorpublic hex.ModelCategory[] can_build()
can_build in class hex.ModelBuilder<XGBoostModel,XGBoostModel.XGBoostParameters,XGBoostOutput>public boolean isSupervised()
isSupervised in class hex.ModelBuilder<XGBoostModel,XGBoostModel.XGBoostParameters,XGBoostOutput>protected int nModelsInParallel()
nModelsInParallel in class hex.ModelBuilder<XGBoostModel,XGBoostModel.XGBoostParameters,XGBoostOutput>protected hex.tree.xgboost.XGBoost.XGBoostDriver trainModelImpl()
trainModelImpl in class hex.ModelBuilder<XGBoostModel,XGBoostModel.XGBoostParameters,XGBoostOutput>public void init(boolean expensive)
init in class hex.ModelBuilder<XGBoostModel,XGBoostModel.XGBoostParameters,XGBoostOutput>public static int countUnique(int[] unsortedArray)