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

public class FitRCFParams extends Object implements MLAlgoParams
  • Field Details

  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException
      Specified by:
      writeTo in interface org.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:
      getVersion in interface MLAlgoParams
    • getWriteableName

      public String getWriteableName()
      Specified by:
      getWriteableName in interface org.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:
      toXContent in interface org.opensearch.core.xcontent.ToXContent
      Throws:
      IOException
    • builder

      public static FitRCFParams.FitRCFParamsBuilder builder()
    • getNumberOfTrees

      public Integer getNumberOfTrees()
    • getShingleSize

      public Integer getShingleSize()
    • getSampleSize

      public Integer getSampleSize()
    • getOutputAfter

      public Integer getOutputAfter()
    • getTimeDecay

      public Double getTimeDecay()
    • getAnomalyRate

      public Double getAnomalyRate()
    • getTimeField

      public String getTimeField()
    • getDateFormat

      public String getDateFormat()
    • getTimeZone

      public String getTimeZone()
    • setNumberOfTrees

      public void setNumberOfTrees(Integer numberOfTrees)
    • setShingleSize

      public void setShingleSize(Integer shingleSize)
    • setSampleSize

      public void setSampleSize(Integer sampleSize)
    • setOutputAfter

      public void setOutputAfter(Integer outputAfter)
    • setTimeDecay

      public void setTimeDecay(Double timeDecay)
    • setAnomalyRate

      public void setAnomalyRate(Double anomalyRate)
    • setTimeField

      public void setTimeField(String timeField)
    • setDateFormat

      public void setDateFormat(String dateFormat)
    • setTimeZone

      public void setTimeZone(String timeZone)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object