Module org.elasticsearch.xcore
Class ClassificationStats
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStats
- All Implemented Interfaces:
NamedWriteable,Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject,AnalysisStats
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ConstructingObjectParser<ClassificationStats, Void> static final org.elasticsearch.xcontent.ConstructingObjectParser<ClassificationStats, Void> static final org.elasticsearch.xcontent.ParseFieldstatic final Stringstatic final org.elasticsearch.xcontent.ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionClassificationStats(String jobId, Instant timestamp, int iteration, Hyperparameters hyperparameters, TimingStats timingStats, ValidationLoss validationLoss) -
Method Summary
Modifier and TypeMethodDescriptiondocumentId(String _jobId) static StringdocumentIdPrefix(String jobId) booleaninthashCode()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
TYPE_VALUE
- See Also:
-
ITERATION
public static final org.elasticsearch.xcontent.ParseField ITERATION -
HYPERPARAMETERS
public static final org.elasticsearch.xcontent.ParseField HYPERPARAMETERS -
TIMING_STATS
public static final org.elasticsearch.xcontent.ParseField TIMING_STATS -
VALIDATION_LOSS
public static final org.elasticsearch.xcontent.ParseField VALIDATION_LOSS -
STRICT_PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<ClassificationStats,Void> STRICT_PARSER -
LENIENT_PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<ClassificationStats,Void> LENIENT_PARSER
-
-
Constructor Details
-
ClassificationStats
public ClassificationStats(String jobId, Instant timestamp, int iteration, Hyperparameters hyperparameters, TimingStats timingStats, ValidationLoss validationLoss) -
ClassificationStats
- Throws:
IOException
-
-
Method Details
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
documentId
-
documentIdPrefix
-