Modifier and Type | Class and Description |
---|---|
static class |
AUC.ThresholdCriterion |
Request2.ColumnSelect, Request2.Dependent, Request2.DoClassBoolean, Request2.DRFCopyDataBoolean, Request2.MultiVecSelect, Request2.MultiVecSelectType, Request2.TypeaheadKey, Request2.VecClassSelect, Request2.VecSelect
Request.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.WarningCellBuilder
RequestArguments.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.RequestType
Constants.Extensions, Constants.Schemes, Constants.Suffixes
Modifier and Type | Field and Description |
---|---|
float[] |
accuracy |
Frame |
actual |
double |
AUC |
long[][][] |
confusion_matrices |
static DocGen.FieldDoc[] |
DOC_FIELDS |
static java.lang.String |
DOC_GET |
float[] |
errorr |
float[] |
F0point5 |
float[] |
F1 |
float[] |
F2 |
double |
Gini |
float[] |
max_per_class_error |
float[] |
mcc |
float[] |
precision |
Frame |
predict |
float[] |
recall |
float[] |
specificity |
AUC.ThresholdCriterion |
threshold_criterion |
float[] |
thresholds |
Vec |
vactual |
Vec |
vpredict |
_parms, response_info
_requestHelp, SUPPORTS_ONLY_V1, SUPPORTS_ONLY_V2, SUPPORTS_V1_V2
ARRAY_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
_arguments
ALPHA, ARGUMENTS, 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, PRIOR, 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 |
---|
AUC() |
AUC(ConfusionMatrix[] cms,
float[] thresh)
Constructor for algos that make their own CMs
|
AUC(ConfusionMatrix[] cms,
float[] thresh,
java.lang.String[] domain)
Constructor for algos that make their own CMs
|
Modifier and Type | Method and Description |
---|---|
double |
accuracy() |
double |
accuracy(AUC.ThresholdCriterion criter) |
double |
AUC() |
double |
bestErr() |
double |
bestF1() |
void |
clear()
Clean out large JSON fields.
|
long[][] |
cm() |
ConfusionMatrix |
CM() |
long[][] |
cm(AUC.ThresholdCriterion criter) |
double |
err() |
double |
err(AUC.ThresholdCriterion criter) |
protected void |
execImpl()
The real implementation which should be provided by ancestors.
|
double |
F0point5() |
double |
F0point5(AUC.ThresholdCriterion criter) |
double |
F1() |
double |
F1(AUC.ThresholdCriterion criter) |
double |
F2() |
double |
F2(AUC.ThresholdCriterion criter) |
double |
Gini() |
protected void |
init()
Invoked before run.
|
double |
max_per_class_error() |
double |
max_per_class_error(AUC.ThresholdCriterion criter) |
double |
mcc() |
double |
mcc(AUC.ThresholdCriterion criter) |
double |
precision() |
double |
precision(AUC.ThresholdCriterion criter) |
double |
recall() |
double |
recall(AUC.ThresholdCriterion criter) |
double |
specificity() |
double |
specificity(AUC.ThresholdCriterion criter) |
float |
threshold() |
float |
threshold(AUC.ThresholdCriterion criter) |
void |
toASCII(java.lang.StringBuilder sb) |
boolean |
toHTML(java.lang.StringBuilder sb) |
cleanup, emptyLTrash, exec, gtrash, gtrash, invoke, ltrash, ltrash, serve
create, fillResponseInfo, filterNaCols, input, logStart, makeJsonBox, registered, serveGrid, set, split, superServeGrid, supportedVersions, toJSON, toString
addToNavbar, addToNavbar, addToNavbar, DocExampleFail, DocExampleSucc, href, href, hrefType, HTMLHelp, htmlTemplate, initializeNavBar, log, mapTypeahead, ReSTHelp, serve, serveJava, serveResponse, toDocGET, toJava, wrap, wrap, wrap, writeJSONFields
build, buildJSONResponseBox, buildResponseHeader, name
buildQuery, checkArguments, queryArgumentValueSet
arguments, argumentsToJson, frameColumnNameToIndex, vaCategoryNames, vaCategoryNames, vaColumnNameToIndex
checkJsonName, encodeRedirectArgs, JSON2HTML, jsonError, requestName, Str2JSON
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON
public static DocGen.FieldDoc[] DOC_FIELDS
public static final java.lang.String DOC_GET
@Request.API(help="", required=true, filter=Request.Default.class, json=true) public Frame actual
@Request.API(help="Column of the actual results (will display vertically)", required=true, filter=water.api.AUC.actualVecSelect.class, json=true) public Vec vactual
@Request.API(help="", required=true, filter=Request.Default.class, json=true) public Frame predict
@Request.API(help="Column of the predicted results (will display horizontally)", required=true, filter=water.api.AUC.predictVecSelect.class, json=true) public Vec vpredict
@Request.API(help="Thresholds (optional, e.g. 0:1:0.01 or 0.0,0.2,0.4,0.6,0.8,1.0).", required=false, filter=Request.Default.class, json=true) public float[] thresholds
@Request.API(help="Threshold criterion", filter=Request.Default.class, json=true) public AUC.ThresholdCriterion threshold_criterion
@Request.API(help="AUC (ROC)") public double AUC
@Request.API(help="Gini") public double Gini
@Request.API(help="Confusion Matrices for all thresholds") public long[][][] confusion_matrices
@Request.API(help="F1 for all thresholds") public float[] F1
@Request.API(help="F2 for all thresholds") public float[] F2
@Request.API(help="F0point5 for all thresholds") public float[] F0point5
@Request.API(help="Accuracy for all thresholds") public float[] accuracy
@Request.API(help="Error for all thresholds") public float[] errorr
@Request.API(help="Precision for all thresholds") public float[] precision
@Request.API(help="Recall for all thresholds") public float[] recall
@Request.API(help="Specificity for all thresholds") public float[] specificity
@Request.API(help="MCC for all thresholds") public float[] mcc
@Request.API(help="Max per class error for all thresholds") public float[] max_per_class_error
public AUC()
public AUC(ConfusionMatrix[] cms, float[] thresh)
cms
- ConfusionMatricesthresh
- Thresholdspublic AUC(ConfusionMatrix[] cms, float[] thresh, java.lang.String[] domain)
cms
- ConfusionMatricesthresh
- Thresholdsdomain
- Domainpublic void clear()
public double AUC()
public double Gini()
public double F1(AUC.ThresholdCriterion criter)
public double F2(AUC.ThresholdCriterion criter)
public double F0point5(AUC.ThresholdCriterion criter)
public double precision(AUC.ThresholdCriterion criter)
public double recall(AUC.ThresholdCriterion criter)
public double specificity(AUC.ThresholdCriterion criter)
public double mcc(AUC.ThresholdCriterion criter)
public double accuracy(AUC.ThresholdCriterion criter)
public double err(AUC.ThresholdCriterion criter)
public double max_per_class_error(AUC.ThresholdCriterion criter)
public float threshold(AUC.ThresholdCriterion criter)
public long[][] cm(AUC.ThresholdCriterion criter)
public double F1()
public double F2()
public double F0point5()
public double err()
public double precision()
public double recall()
public double specificity()
public double mcc()
public double accuracy()
public double max_per_class_error()
public float threshold()
public long[][] cm()
public ConfusionMatrix CM()
public double bestF1()
public double bestErr()
protected void init() throws java.lang.IllegalArgumentException
Func
protected void execImpl()
Func
public void toASCII(java.lang.StringBuilder sb)