Class AnomalyDetectionLibSVMParams
java.lang.Object
org.opensearch.ml.common.input.parameter.ad.AnomalyDetectionLibSVMParams
- 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 ClassesModifier and TypeClassDescriptionstatic enumstatic classNested 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 org.opensearch.core.xcontent.NamedXContentRegistry.EntryFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionAnomalyDetectionLibSVMParams(org.opensearch.core.common.io.stream.StreamInput in) AnomalyDetectionLibSVMParams(AnomalyDetectionLibSVMParams.ADKernelType kernelType, Double gamma, Double nu, Double cost, Double coeff, Double epsilon, Integer degree) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetCoeff()getCost()getGamma()getNu()intinthashCode()static MLAlgoParamsparse(org.opensearch.core.xcontent.XContentParser parser) voidvoidvoidvoidsetEpsilon(Double epsilon) voidvoidvoidtoString()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 -
KERNEL_FIELD
- See Also:
-
GAMMA_FIELD
- See Also:
-
NU_FIELD
- See Also:
-
COST_FIELD
- See Also:
-
COEFF_FIELD
- See Also:
-
EPSILON_FIELD
- See Also:
-
DEGREE_FIELD
- See Also:
-
-
Constructor Details
-
AnomalyDetectionLibSVMParams
-
AnomalyDetectionLibSVMParams
public AnomalyDetectionLibSVMParams(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
-
Method Details
-
parse
public static MLAlgoParams parse(org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceorg.opensearch.core.common.io.stream.NamedWriteable
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Throws:
IOException
-
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
-
getVersion
public int getVersion()- Specified by:
getVersionin interfaceMLAlgoParams
-
builder
-
toBuilder
-
getKernelType
-
getGamma
-
getNu
-
getCost
-
getCoeff
-
getEpsilon
-
getDegree
-
setKernelType
-
setGamma
-
setNu
-
setCost
-
setCoeff
-
setEpsilon
-
setDegree
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-