Class ValidationLoss
java.lang.Object
org.elasticsearch.client.ml.dataframe.stats.classification.ValidationLoss
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class ValidationLoss extends java.lang.Object implements ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields Modifier and Type Field Description static ParseField
FOLD_VALUES
static ParseField
LOSS_TYPE
static ConstructingObjectParser<ValidationLoss,java.lang.Void>
PARSER
-
Constructor Summary
Constructors Constructor Description ValidationLoss(java.lang.String lossType, java.util.List<FoldValues> values)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.List<FoldValues>
getFoldValues()
java.lang.String
getLossType()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Constructor Details
-
Method Details
-
getLossType
public java.lang.String getLossType() -
getFoldValues
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-