public final class AutoML extends water.Lockable<AutoML> implements TimedH2ORunnable
| Modifier and Type | Class and Description |
|---|---|
static class |
AutoML.algo |
static class |
AutoML.AutoMLKeyV3 |
| Constructor and Description |
|---|
AutoML() |
AutoML(water.Key<AutoML> key,
java.util.Date startTime,
AutoMLBuildSpec buildSpec) |
| Modifier and Type | Method and Description |
|---|---|
void |
addModel(water.Key<hex.Model> newModel) |
void |
addModel(hex.Model newModel) |
void |
addModels(water.Key<hex.Model>[] newModels) |
water.Job<hex.grid.Grid> |
defaultSearchDL1() |
water.Job<hex.grid.Grid> |
defaultSearchDL2() |
water.Job<hex.grid.Grid> |
defaultSearchDL3() |
water.Job<hex.grid.Grid> |
defaultSearchGBM(water.Key<hex.grid.Grid> gridKey) |
water.Job<hex.grid.Grid> |
defaultSearchGLM() |
void |
delete()
Delete the AutoML-related objects, but leave the grids and models that it built.
|
void |
deleteWithChildren()
Same as delete() but also deletes all Objects made from this instance.
|
void |
get()
Holds until AutoML's job is completed, if a job exists.
|
AutoMLBuildSpec |
getBuildSpec() |
water.fvec.Vec |
getFoldColumn() |
FrameMetadata |
getFrameMetadata() |
water.fvec.Frame |
getLeaderboardFrame() |
water.fvec.Vec |
getResponseColumn() |
long |
getStopTimeMs() |
water.fvec.Frame |
getTrainingFrame() |
water.fvec.Frame |
getValidationFrame() |
water.fvec.Vec |
getWeightsColumn() |
water.Job<hex.grid.Grid> |
hyperparameterSearch(water.Key<hex.grid.Grid> gridKey,
java.lang.String algoName,
hex.Model.Parameters baseParms,
java.util.Map<java.lang.String,java.lang.Object[]> searchParms)
Do a random hyperparameter search.
|
water.Job<hex.grid.Grid> |
hyperparameterSearch(java.lang.String algoName,
hex.Model.Parameters baseParms,
java.util.Map<java.lang.String,java.lang.Object[]> searchParms)
Do a random hyperparameter search.
|
water.Job |
job() |
boolean |
keepRunning() |
hex.Model |
leader() |
Leaderboard |
leaderboard() |
void |
learn() |
static AutoML |
makeAutoML(water.Key<AutoML> key,
java.util.Date startTime,
AutoMLBuildSpec buildSpec) |
java.lang.Class<AutoML.AutoMLKeyV3> |
makeSchema() |
void |
pollAndUpdateProgress(UserFeedbackEvent.Stage stage,
java.lang.String name,
long workContribution,
water.Job parentJob,
water.Job subJob,
ai.h2o.automl.AutoML.JobType subJobType) |
boolean |
possiblyVerifyImmutability() |
java.lang.String |
projectName() |
int |
remainingModels() |
void |
run() |
static void |
startAutoML(AutoML aml)
Takes in an AutoML instance and starts running it.
|
static AutoML |
startAutoML(AutoMLBuildSpec buildSpec)
Instantiate an AutoML object and start it running.
|
void |
stop() |
long |
timeRemainingMs() |
water.Job |
trainModel(water.Key<hex.Model> key,
java.lang.String algoURLName,
hex.Model.Parameters parms)
Helper for hex.ModelBuilder.
|
UserFeedback |
userFeedback() |
delete_and_lock, delete_and_lock, delete_and_lock, delete, delete, read_lock, read_lock, read_lock, unlock_all, unlock, unlock, unlock, unlock, update, update, update, write_lock, write_lock, write_lockchecksum_impl, checksum, readAll_impl, readAll, remove_impl, remove, remove, remove, remove, writeAll_impl, writeAllpublic AutoML()
public AutoML(water.Key<AutoML> key, java.util.Date startTime, AutoMLBuildSpec buildSpec)
public AutoMLBuildSpec getBuildSpec()
public water.fvec.Frame getTrainingFrame()
public water.fvec.Frame getValidationFrame()
public water.fvec.Frame getLeaderboardFrame()
public water.fvec.Vec getResponseColumn()
public water.fvec.Vec getFoldColumn()
public water.fvec.Vec getWeightsColumn()
public FrameMetadata getFrameMetadata()
public static AutoML makeAutoML(water.Key<AutoML> key, java.util.Date startTime, AutoMLBuildSpec buildSpec)
public void run()
run in interface H2ORunnablepublic void stop()
stop in interface H2ORunnablepublic long getStopTimeMs()
public long timeRemainingMs()
timeRemainingMs in interface TimedH2ORunnablepublic int remainingModels()
public boolean keepRunning()
keepRunning in interface TimedH2ORunnablepublic void pollAndUpdateProgress(UserFeedbackEvent.Stage stage, java.lang.String name, long workContribution, water.Job parentJob, water.Job subJob, ai.h2o.automl.AutoML.JobType subJobType)
public water.Job trainModel(water.Key<hex.Model> key,
java.lang.String algoURLName,
hex.Model.Parameters parms)
public water.Job<hex.grid.Grid> hyperparameterSearch(java.lang.String algoName,
hex.Model.Parameters baseParms,
java.util.Map<java.lang.String,java.lang.Object[]> searchParms)
algoName - name of the algo, e.g. "GBM"; used for messages and for building the grid keybaseParms - ModelBuilder parameter values that are common across all models in the searchsearchParms - hyperparameter search spacepublic water.Job<hex.grid.Grid> hyperparameterSearch(water.Key<hex.grid.Grid> gridKey,
java.lang.String algoName,
hex.Model.Parameters baseParms,
java.util.Map<java.lang.String,java.lang.Object[]> searchParms)
gridKey - optional grid keyalgoName - name of the algo, e.g. "GBM"; used for messages and for building the grid key if it's not specifiedbaseParms - ModelBuilder parameter values that are common across all models in the searchsearchParms - hyperparameter search spacepublic water.Job<hex.grid.Grid> defaultSearchGLM()
public water.Job<hex.grid.Grid> defaultSearchGBM(water.Key<hex.grid.Grid> gridKey)
public water.Job<hex.grid.Grid> defaultSearchDL1()
public water.Job<hex.grid.Grid> defaultSearchDL2()
public water.Job<hex.grid.Grid> defaultSearchDL3()
public void learn()
public static AutoML startAutoML(AutoMLBuildSpec buildSpec)
buildSpec - public static void startAutoML(AutoML aml)
aml - public void get()
public void delete()
delete in class water.Lockable<AutoML>public void deleteWithChildren()
public water.Job job()
public Leaderboard leaderboard()
public hex.Model leader()
public UserFeedback userFeedback()
public java.lang.String projectName()
public void addModels(water.Key<hex.Model>[] newModels)
public void addModel(water.Key<hex.Model> newModel)
public void addModel(hex.Model newModel)
public java.lang.Class<AutoML.AutoMLKeyV3> makeSchema()
makeSchema in class water.Keyed<AutoML>public boolean possiblyVerifyImmutability()