Class FoldValues
java.lang.Object
org.elasticsearch.client.ml.dataframe.stats.common.FoldValues
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class FoldValues 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
static ConstructingObjectParser<FoldValues,java.lang.Void>
PARSER
static ParseField
VALUES
-
Constructor Summary
Constructors Constructor Description FoldValues(int fold, double[] values)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getFold()
double[]
getValues()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Constructor Details
-
FoldValues
public FoldValues(int fold, double[] values)
-
-
Method Details
-
getFold
public int getFold() -
getValues
public double[] getValues() -
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
-