Class FitRCFParams
java.lang.Object
org.opensearch.ml.common.input.parameter.rcf.FitRCFParams
- 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 Stringstatic final Stringstatic final Stringstatic final org.opensearch.core.xcontent.NamedXContentRegistry.EntryFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanintinthashCode()static FitRCFParamsparse(org.opensearch.core.xcontent.XContentParser parser) voidsetAnomalyRate(Double anomalyRate) voidsetDateFormat(String dateFormat) voidsetNumberOfTrees(Integer numberOfTrees) voidsetOutputAfter(Integer outputAfter) voidsetSampleSize(Integer sampleSize) voidsetShingleSize(Integer shingleSize) voidsetTimeDecay(Double timeDecay) voidsetTimeField(String timeField) voidsetTimeZone(String timeZone) 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:
-
TIME_DECAY
- See Also:
-
ANOMALY_RATE
- See Also:
-
TIME_FIELD
- See Also:
-
DATE_FORMAT
- See Also:
-
TIME_ZONE
- See Also:
-
-
Constructor Details
-
FitRCFParams
-
FitRCFParams
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Throws:
IOException
-
parse
public static FitRCFParams 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
-
getTimeDecay
-
getAnomalyRate
-
getTimeField
-
getDateFormat
-
getTimeZone
-
setNumberOfTrees
-
setShingleSize
-
setSampleSize
-
setOutputAfter
-
setTimeDecay
-
setAnomalyRate
-
setTimeField
-
setDateFormat
-
setTimeZone
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-