Class Parameters
java.lang.Object
org.elasticsearch.client.ml.dataframe.stats.outlierdetection.Parameters
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class Parameters 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 ParseFieldCOMPUTE_FEATURE_INFLUENCEstatic ParseFieldFEATURE_INFLUENCE_THRESHOLDstatic ParseFieldMETHODstatic ParseFieldN_NEIGHBORSstatic ParseFieldOUTLIER_FRACTIONstatic ConstructingObjectParser<Parameters,java.lang.Void>PARSERstatic ParseFieldSTANDARDIZATION_ENABLED -
Constructor Summary
Constructors Constructor Description Parameters(java.lang.Integer nNeighbors, java.lang.String method, java.lang.Boolean computeFeatureInfluence, java.lang.Double featureInfluenceThreshold, java.lang.Double outlierFraction, java.lang.Boolean standardizationEnabled) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.BooleangetComputeFeatureInfluence()java.lang.DoublegetFeatureInfluenceThreshold()java.lang.StringgetMethod()java.lang.IntegergetnNeighbors()java.lang.DoublegetOutlierFraction()java.lang.BooleangetStandardizationEnabled()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Constructor Details
-
Parameters
public Parameters(java.lang.Integer nNeighbors, java.lang.String method, java.lang.Boolean computeFeatureInfluence, java.lang.Double featureInfluenceThreshold, java.lang.Double outlierFraction, java.lang.Boolean standardizationEnabled)
-
-
Method Details
-
getnNeighbors
public java.lang.Integer getnNeighbors() -
getMethod
public java.lang.String getMethod() -
getComputeFeatureInfluence
public java.lang.Boolean getComputeFeatureInfluence() -
getFeatureInfluenceThreshold
public java.lang.Double getFeatureInfluenceThreshold() -
getOutlierFraction
public java.lang.Double getOutlierFraction() -
getStandardizationEnabled
public java.lang.Boolean getStandardizationEnabled() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-