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 ParseField
COMPUTE_FEATURE_INFLUENCE
static ParseField
FEATURE_INFLUENCE_THRESHOLD
static ParseField
METHOD
static ParseField
N_NEIGHBORS
static ParseField
OUTLIER_FRACTION
static ConstructingObjectParser<Parameters,java.lang.Void>
PARSER
static ParseField
STANDARDIZATION_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 boolean
equals(java.lang.Object o)
java.lang.Boolean
getComputeFeatureInfluence()
java.lang.Double
getFeatureInfluenceThreshold()
java.lang.String
getMethod()
java.lang.Integer
getnNeighbors()
java.lang.Double
getOutlierFraction()
java.lang.Boolean
getStandardizationEnabled()
int
hashCode()
XContentBuilder
toXContent(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:
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
-