public class Generic extends hex.ModelBuilder<GenericModel,GenericModelParameters,GenericModelOutput>
GenericModel
.
Only H2O Mojos are currently supported._coordinator, _desc, _eventPublisher, _fold, _input_parms, _job, _messages, _nclass, _offset, _orig_projection_array, _origDomains, _origNames, _origTrain, _parms, _priorClassDist, _removedCols, _response, _result, _startUpOnceModelBuilder, _train, _treatment, _valid, _vresponse, _weights
Constructor and Description |
---|
Generic(boolean startup_once) |
Generic(GenericModelParameters genericParameters) |
Modifier and Type | Method and Description |
---|---|
hex.ModelBuilder.BuilderVisibility |
builderVisibility() |
hex.ModelCategory[] |
can_build() |
boolean |
haveMojo() |
static GenericModel |
importMojoModel(java.lang.String location,
boolean disableAlgoCheck)
Convenience method for importing MOJO into H2O.
|
static GenericModel |
importMojoModel(java.net.URI location) |
void |
init(boolean expensive) |
boolean |
isSupervised() |
protected hex.ModelBuilder.Driver |
trainModelImpl() |
algoName, algos, canLearnFromNAs, checkCustomMetricForEarlyStopping, checkDistributions, checkEarlyStoppingReproducibility, checkMemoryFootPrint_impl, checkMemoryFootPrint, checkResponseVariable, clearInitState, clearValidationErrors, computeCrossValidation, computePriorClassDistribution, cv_buildModels, cv_canBuildMainModelInParallel, cv_computeAndSetOptimalParameters, cv_initStoppingParameters, cv_mainModelScores, cv_makeAggregateModelMetrics, cv_scoreCVModels, cv_updateOptimalParameters, defaultKey, desiredChunks, dest, error_count, error, get, getMessagesByFieldAndSeverity, getName, getSysProperty, getToEigenVec, hasFoldCol, hasOffsetCol, hasTreatmentCol, hasWeightCol, havePojo, hide, ignoreBadColumns, ignoreConstColumns, ignoreInvalidColumns, ignoreStringColumns, ignoreUuidColumns, info, init_adaptFrameToTrain, init_getNClass, initWorkspace, isClassifier, isResponseOptional, isStopped, javaName, logMe, make, make, make, makeCVMetrics, makeCVModelBuilder, makeParameters, makePojoWriter, message, nclasses, nFoldCV, nFoldWork, nModelsInParallel, nModelsInParallel, nModelsInParallel, numSpecialCols, paramName, raiseReproducibilityWarning, rebalance, remainingTimeSecs, response, schemaDirectory, separateFeatureVecs, setMaxRuntimeSecsForMainModel, setTrain, setValid, shouldReorder, smallDataSize, stop_requested, timeout, train, trainModel, trainModel, trainModelNested, trainModelNested, trainModelOnH2ONode, valid, validateBinaryResponse, validateStoppingMetric, validationErrors, validationWarnings, vresponse, warn
public Generic(GenericModelParameters genericParameters)
public Generic(boolean startup_once)
public void init(boolean expensive)
init
in class hex.ModelBuilder<GenericModel,GenericModelParameters,GenericModelOutput>
protected hex.ModelBuilder.Driver trainModelImpl()
trainModelImpl
in class hex.ModelBuilder<GenericModel,GenericModelParameters,GenericModelOutput>
public hex.ModelCategory[] can_build()
can_build
in class hex.ModelBuilder<GenericModel,GenericModelParameters,GenericModelOutput>
public boolean haveMojo()
haveMojo
in class hex.ModelBuilder<GenericModel,GenericModelParameters,GenericModelOutput>
public boolean isSupervised()
isSupervised
in class hex.ModelBuilder<GenericModel,GenericModelParameters,GenericModelOutput>
public hex.ModelBuilder.BuilderVisibility builderVisibility()
builderVisibility
in class hex.ModelBuilder<GenericModel,GenericModelParameters,GenericModelOutput>
public static GenericModel importMojoModel(java.lang.String location, boolean disableAlgoCheck)
location
- absolute path to MOJO filedisableAlgoCheck
- if true skip the check of white-listed MOJO models, use at your own risk - some features might not work.public static GenericModel importMojoModel(java.net.URI location)