Class BatchRCFParams
java.lang.Object
org.opensearch.ml.common.input.parameter.rcf.BatchRCFParams
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.NamedWriteable,org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentObject,MLAlgoParams
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final org.opensearch.core.xcontent.NamedXContentRegistry.EntryFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionBatchRCFParams(Integer numberOfTrees, Integer shingleSize, Integer sampleSize, Integer outputAfter, Integer trainingDataSize, Double anomalyScoreThreshold) BatchRCFParams(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanintinthashCode()static BatchRCFParamsparse(org.opensearch.core.xcontent.XContentParser parser) voidsetAnomalyScoreThreshold(Double anomalyScoreThreshold) voidsetNumberOfTrees(Integer numberOfTrees) voidsetOutputAfter(Integer outputAfter) voidsetSampleSize(Integer sampleSize) voidsetShingleSize(Integer shingleSize) voidsetTrainingDataSize(Integer trainingDataSize) toString()org.opensearch.core.xcontent.XContentBuildertoXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) voidwriteTo(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.core.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARSE_FIELD_NAME
-
XCONTENT_REGISTRY
public static final org.opensearch.core.xcontent.NamedXContentRegistry.Entry XCONTENT_REGISTRY -
NUMBER_OF_TREES
- See Also:
-
SHINGLE_SIZE
- See Also:
-
SAMPLE_SIZE
- See Also:
-
OUTPUT_AFTER
- See Also:
-
TRAINING_DATA_SIZE
- See Also:
-
ANOMALY_SCORE_THRESHOLD
- See Also:
-
-
Constructor Details
-
BatchRCFParams
-
BatchRCFParams
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Throws:
IOException
-
parse
public static BatchRCFParams parse(org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
getVersion
public int getVersion()- Specified by:
getVersionin interfaceMLAlgoParams
-
getWriteableName
- Specified by:
getWriteableNamein interfaceorg.opensearch.core.common.io.stream.NamedWriteable
-
toXContent
public org.opensearch.core.xcontent.XContentBuilder toXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.opensearch.core.xcontent.ToXContent- Throws:
IOException
-
builder
-
getNumberOfTrees
-
getShingleSize
-
getSampleSize
-
getOutputAfter
-
getTrainingDataSize
-
getAnomalyScoreThreshold
-
setNumberOfTrees
-
setShingleSize
-
setSampleSize
-
setOutputAfter
-
setTrainingDataSize
-
setAnomalyScoreThreshold
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-