public class ScoringInfo extends Iced<ScoringInfo>
Modifier and Type | Class and Description |
---|---|
static interface |
ScoringInfo.HasEpochs |
static interface |
ScoringInfo.HasIterations |
static interface |
ScoringInfo.HasSamples |
Modifier and Type | Field and Description |
---|---|
boolean |
cross_validation |
boolean |
is_autoencoder |
boolean |
is_classification |
ScoreKeeper |
scored_train |
ScoreKeeper |
scored_valid |
ScoreKeeper |
scored_xval |
long |
this_scoring_time_ms |
long |
time_stamp_ms |
long |
total_scoring_time_ms |
long |
total_setup_time_ms |
long |
total_training_time_ms |
AUC2 |
training_AUC |
boolean |
validation |
AUC2 |
validation_AUC |
VarImp |
variable_importances |
Constructor and Description |
---|
ScoringInfo() |
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator<ScoringInfo> |
comparator(ScoreKeeper.StoppingMetric criterion)
Create a java.util.Comparator which allows us to sort an array of ScoringInfo based
on a stopping criterion / metric.
|
static TwoDimTable |
createScoringHistoryTable(ScoringInfo[] scoringInfos,
boolean hasValidation,
boolean hasCrossValidation,
hex.ModelCategory modelCategory,
boolean isAutoencoder)
Create a TwoDimTable to display the scoring history from an array of scoringInfo.
|
double |
metric(ScoreKeeper.StoppingMetric criterion) |
static ScoringInfo[] |
prependScoringInfo(ScoringInfo scoringInfo,
ScoringInfo[] scoringInfos)
Add a new ScoringInfo to the given array and return the new array.
|
static ScoreKeeper[] |
scoreKeepers(ScoringInfo[] scoring_history)
For a given array of ScoringInfo return an array of the cross-validation, validation or training ScoreKeepers, as available.
|
static void |
sort(ScoringInfo[] scoringInfos,
ScoreKeeper.StoppingMetric criterion)
Sort an array of ScoringInfo based on a stopping criterion / metric.
|
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public long time_stamp_ms
public long total_training_time_ms
public long total_scoring_time_ms
public long total_setup_time_ms
public long this_scoring_time_ms
public boolean is_classification
public boolean is_autoencoder
public AUC2 training_AUC
public AUC2 validation_AUC
public boolean validation
public boolean cross_validation
public ScoreKeeper scored_train
public ScoreKeeper scored_valid
public ScoreKeeper scored_xval
public VarImp variable_importances
public static ScoringInfo[] prependScoringInfo(ScoringInfo scoringInfo, ScoringInfo[] scoringInfos)
scoringInfo
- public static ScoreKeeper[] scoreKeepers(ScoringInfo[] scoring_history)
public double metric(ScoreKeeper.StoppingMetric criterion)
public static final java.util.Comparator<ScoringInfo> comparator(ScoreKeeper.StoppingMetric criterion)
criterion
- scalar model metric / stopping criterion by which to sortpublic static void sort(ScoringInfo[] scoringInfos, ScoreKeeper.StoppingMetric criterion)
scoringInfos
- array of ScoringInfo to sortcriterion
- scalar model metric / stopping criterion by which to sortpublic static TwoDimTable createScoringHistoryTable(ScoringInfo[] scoringInfos, boolean hasValidation, boolean hasCrossValidation, hex.ModelCategory modelCategory, boolean isAutoencoder)
scoringInfos
- array of ScoringInfo to renderhasValidation
- do we have validation metrics?hasCrossValidation
- do we have cross-validation metrics?modelCategory
- the category for the model or modelsisAutoencoder
- is the model or are the models autoencoders?