public class DeepLearning extends Job.ValidatedJob
| Modifier and Type | Class and Description |
|---|---|
static class |
DeepLearning.Activation
Activation functions
|
static class |
DeepLearning.ClassSamplingMethod |
static class |
DeepLearning.InitialWeightDistribution |
static class |
DeepLearning.Loss
Loss functions
CrossEntropy is recommended
|
Job.ValidatedJob.Response2CMAdaptorJob.ChunkProgress, Job.ChunkProgressJob, Job.ColumnsJob, Job.Fail, Job.FrameJob, Job.HexJob, Job.JobCancelledException, Job.JobState, Job.List, Job.ModelJob, Job.Progress, Job.ProgressMonitor, Job.ValidatedJobRequest2.ColumnSelect, Request2.Dependent, Request2.DoClassBoolean, Request2.DRFCopyDataBoolean, Request2.MultiVecSelect, Request2.MultiVecSelectType, Request2.TypeaheadKey, Request2.VecClassSelect, Request2.VecSelectRequest.API, Request.Default, Request.Filter, Request.Validator<V>RequestBuilders.ArrayBuilder, RequestBuilders.ArrayHeaderRowBuilder, RequestBuilders.ArrayRowBuilder, RequestBuilders.ArrayRowElementBuilder, RequestBuilders.ArrayRowSingleColBuilder, RequestBuilders.BooleanStringBuilder, RequestBuilders.Builder, RequestBuilders.ElementBuilder, RequestBuilders.HideBuilder, RequestBuilders.KeyCellBuilder, RequestBuilders.KeyElementBuilder, RequestBuilders.KeyLinkElementBuilder, RequestBuilders.KeyMinAvgMaxBuilder, RequestBuilders.NoCaptionObjectBuilder, RequestBuilders.ObjectBuilder, RequestBuilders.PaginatedTable, RequestBuilders.PreFormattedBuilder, RequestBuilders.Response, RequestBuilders.ResponseInfo, RequestBuilders.WarningCellBuilderRequestArguments.Argument<T>, RequestArguments.Bool, RequestArguments.CaseModeSelect, RequestArguments.CaseSelect, RequestArguments.ClassifyBool, RequestArguments.DRFCopyDataBool, RequestArguments.EnumArgument<T extends java.lang.Enum<T>>, RequestArguments.ExistingFile, RequestArguments.FrameClassVec, RequestArguments.FrameKeyMultiVec, RequestArguments.FrameKeyVec, RequestArguments.GeneralFile, RequestArguments.H2OCategoryStrata, RequestArguments.H2OCategoryWeights, RequestArguments.H2OExistingKey, RequestArguments.H2OGLMModelKey, RequestArguments.H2OHexKey, RequestArguments.H2OHexKeyCol, RequestArguments.H2OIllegalArgumentException, RequestArguments.H2OKey, RequestArguments.H2OKey2, RequestArguments.H2OKMeansModelKey, RequestArguments.H2OModelKey<TM extends OldModel,TK extends TypeaheadKeysRequest>, RequestArguments.HexAllColumnSelect, RequestArguments.HexColumnSelect, RequestArguments.HexKeyClassCol, RequestArguments.HexNonClassColumnSelect, RequestArguments.HexNonConstantColumnSelect, RequestArguments.HexPCAColumnSelect, RequestArguments.InputCheckBox, RequestArguments.InputSelect<T>, RequestArguments.InputText<T>, RequestArguments.Int, RequestArguments.LongInt, RequestArguments.MultipleSelect<T>, RequestArguments.MultipleText<T>, RequestArguments.NTree, RequestArguments.NumberSequence, RequestArguments.NumberSequenceFloat, RequestArguments.Real, RequestArguments.Record<T>, RequestArguments.RFModelKey, RequestArguments.RSeq, RequestArguments.RSeqFloat, RequestArguments.Str, RequestArguments.StringList, RequestArguments.TypeaheadInputText<T>RequestStatics.RequestTypeConstants.Extensions, Constants.Schemes, Constants.Suffixes_cmDomain, _names, _responseName, _sourceResponseDomain, _train, _valid, _validResponse, _validResponseDomain, validationclassification, responsecols, ignored_cols, ignored_cols_by_namesource_fjtask, description, destination_key, end_time, exception, job_key, LIST, start_time, state_parms, response_info_requestHelp, SUPPORTS_ONLY_V1, SUPPORTS_ONLY_V2, SUPPORTS_V1_V2ARRAY_BUILDER, ARRAY_HEADER_ROW_BUILDER, ARRAY_ROW_BUILDER, ARRAY_ROW_ELEMENT_BUILDER, ARRAY_ROW_SINGLECOL_BUILDER, ELEMENT_BUILDER, GSON_BUILDER, OBJECT_BUILDER, ROOT_OBJECT_queryHtml_argumentsALPHA, ARGUMENTS, AUC, BASE, BEST_THRESHOLD, BETA_EPS, BIN_LIMIT, BROWSE, BUCKET, BUILT_IN_KEY_JOBS, CANCELLED, CARDINALITY, CASE, CASE_MODE, CHUNK, CLASS, CLOUD_HEALTH, CLOUD_NAME, CLOUD_SIZE, CLOUD_UPTIME_MILLIS, CLUSTERS, COEFFICIENTS, COL_INDEX, COLS, COLUMN_NAME, COLUMNS_DISPLAY, CONSENSUS, CONTENTS, COUNT, DATA_KEY, DEPTH, DESCRIPTION, DEST_KEY, DTHRESHOLDS, ELAPSED, END_TIME, ENUM_DOMAIN_SIZE, ERROR, ESCAPE_NAN, EXCLUSIVE_SPLIT_LIMIT, EXPRESSION, FAILED, FAMILY, FEATURES, FILE, FILES, FILTER, FIRST_CHUNK, FJ_QUEUE_HI, FJ_QUEUE_LO, FJ_THREADS_HI, FJ_THREADS_LO, FREE_DISK, FREE_MEM, HEADER, HEIGHT, HELP, IGNORE, ITEMS, ITERATIVE_CM, JOB, JOB_KEY, JOBS, JSON_H2O, KEY, KEYS, LAMBDA, LAST_CONTACT, LIMIT, LINK, LOCKED, MAX, MAX_DISK, MAX_ITER, MAX_MEM, MAX_ROWS, MEAN, MIN, MODEL_KEY, MODELS, MORE, MTRY, MTRY_NODES, NAME, NEG_X, NO_CM, NODE, NODE_HEALTH, NODE_NAME, NODES, NORMALIZE, NUM_COLS, NUM_CPUS, NUM_FAILED, NUM_KEYS, NUM_MISSING_VALUES, NUM_ROWS, NUM_SUCCEEDED, NUM_TREES, OBJECT, OFFSET, OOBEE, PARALLEL, PARSER_TYPE, PATH, PREVIEW, PREVIOUS_MODEL_KEY, PROGRESS, PROGRESS_KEY, PROGRESS_TOTAL, REDIRECT, REDIRECT_ARGS, REPLICATION_FACTOR, REQUEST_TIME, RESPONSE, RHO, ROW, ROW_SIZE, ROWS, RPCS, SAMPLE, SAMPLING_STRATEGY, SCALE, SEED, SENT_ROWS, SEPARATOR, SIZE, SOURCE_KEY, STACK_TRACES, START_TIME, STAT_TYPE, STATUS, STEP, STRATA_SAMPLES, SUCCEEDED, SYSTEM_LOAD, TASK_KEY, TCPS_ACTIVE, TCPS_DUTY, TIME, TO_ENUM, TOT_MEM, TREE_COUNT, TREE_DEPTH, TREE_LEAVES, TREE_NUM, TREES, TWEEDIE_POWER, TYPE, URL, USE_NON_LOCAL_DATA, VALUE, VALUE_SIZE, VALUE_TYPE, VARIANCE, VERSION, VIEW, WARNINGS, WEIGHT, WEIGHTS, WIDTH, X, XVAL, Y| Constructor and Description |
|---|
DeepLearning() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete job related keys
|
void |
execImpl()
Train a Deep Learning model, assumes that all members are populated
|
DeepLearningModel |
initModel()
Create an initial Deep Learning model, typically to be trained by trainModel(model)
|
static java.lang.String |
link(Key k,
java.lang.String content)
Return a query link to this page
|
static java.lang.String |
link(Key k,
java.lang.String content,
Key cp,
java.lang.String response,
Key val)
Return a query link to this page
|
float |
progress()
Report the relative progress of building a Deep Learning model (measured by how many epochs are done)
|
protected void |
queryArgumentValueSet(RequestArguments.Argument arg,
java.util.Properties inputArgs)
Helper to handle arguments based on existing input values
|
protected RequestBuilders.Response |
redirect()
Redirect to the model page for that model that is trained by this job
|
protected void |
registered(RequestServer.API_VERSION ver)
Helper to specify which arguments trigger a refresh on change
|
boolean |
toHTML(java.lang.StringBuilder sb)
Print model parameters as JSON
|
DeepLearningModel |
trainModel(DeepLearningModel model)
Train a Deep Learning neural net model
|
DeepLearningModel |
trainModel(DeepLearningModel model,
double epochs)
Incrementally train an existing model
|
getCMDomain, getOrigValidation, getValidAdaptor, getValidation, getVectorDomain, hasValidation, init, prepareValidationWithModel, toJSONselectFrame, selectVecsall, cancel, cancel, cancel, checkIdx, defaultDestKey, defaultJobKey, dest, findJob, findJobByDest, fork, get, getState, gridParallelism, invoke, isCancelledOrCrashed, isCancelledXX, isCrashed, isDone, isEnded, isRunning, isRunning, onCancelled, remove, runTimeMs, self, serve, speedDescription, speedValue, start, waitUntilJobEnded, waitUntilJobEndedcreate, fillResponseInfo, input, logStart, makeJsonBox, serveGrid, set, split, superServeGrid, supportedVersions, toStringaddToNavbar, addToNavbar, addToNavbar, DocExampleFail, DocExampleSucc, href, href, hrefType, HTMLHelp, htmlTemplate, initializeNavBar, log, mapTypeahead, ReSTHelp, serve, serveJava, serveResponse, toDocGET, toJava, wrap, wrap, wrap, writeJSONFieldsbuild, buildJSONResponseBox, buildResponseHeader, namebuildQuery, checkArgumentsarguments, argumentsToJson, frameColumnNameToIndex, vaCategoryNames, vaCategoryNames, vaColumnNameToIndexcheckJsonName, encodeRedirectArgs, JSON2HTML, jsonError, requestName, Str2JSONclone, frozenType, init, newInstance, read, toDocField, write, writeJSONpublic static DocGen.FieldDoc[] DOC_FIELDS
public static final java.lang.String DOC_GET
public Key checkpoint
public boolean expert_mode
public DeepLearning.Activation activation
public int[] hidden
public double epochs
public long train_samples_per_iteration
public long seed
public boolean adaptive_rate
public double rho
public double epsilon
public double rate
public double rate_annealing
public double rate_decay
public double momentum_start
public long momentum_ramp
public double momentum_stable
public boolean nesterov_accelerated_gradient
public double input_dropout_ratio
public double[] hidden_dropout_ratios
public double l1
public double l2
public double max_w2
public DeepLearning.InitialWeightDistribution initial_weight_distribution
public double initial_weight_scale
public DeepLearning.Loss loss
public double score_interval
public long score_training_samples
public long score_validation_samples
public double score_duty_cycle
public double classification_stop
public double regression_stop
public boolean quiet_mode
public int max_confusion_matrix_size
public int max_hit_ratio_k
public boolean balance_classes
public float max_after_balance_size
public DeepLearning.ClassSamplingMethod score_validation_sampling
public boolean diagnostics
public boolean variable_importances
public boolean fast_mode
public boolean ignore_const_cols
public boolean force_load_balance
public boolean replicate_training_data
public boolean single_node_mode
public boolean shuffle_training_data
protected void registered(RequestServer.API_VERSION ver)
registered in class Job.ModelJobver - protected void queryArgumentValueSet(RequestArguments.Argument arg, java.util.Properties inputArgs)
queryArgumentValueSet in class RequestQueriesarg - inputArgs - public boolean toHTML(java.lang.StringBuilder sb)
public static java.lang.String link(Key k, java.lang.String content)
k - Model Keycontent - Link textpublic static java.lang.String link(Key k, java.lang.String content, Key cp, java.lang.String response, Key val)
k - Model Keycontent - Link textcp - Key to checkpoint to continue training with (optional)response - Responseval - Validation data set keypublic float progress()
public final void execImpl()
protected RequestBuilders.Response redirect()
public final DeepLearningModel initModel()
public final DeepLearningModel trainModel(DeepLearningModel model, double epochs)
model - Initial modelepochs - How many epochs to train forpublic final DeepLearningModel trainModel(DeepLearningModel model)
model - Input model (e.g., from initModel(), or from a previous training run)public void delete()