Class Regression

java.lang.Object
org.elasticsearch.client.ml.dataframe.Regression
All Implemented Interfaces:
DataFrameAnalysis, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class Regression
extends java.lang.Object
implements DataFrameAnalysis
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Regression.Builder  
    static class  Regression.LossFunction  

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static org.elasticsearch.common.ParseField NAME  

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type Method Description
    static Regression.Builder builder​(java.lang.String dependentVariable)  
    boolean equals​(java.lang.Object o)  
    static Regression fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)  
    java.lang.String getDependentVariable()  
    java.lang.Double getEta()  
    java.lang.Double getFeatureBagFraction()  
    java.lang.Double getGamma()  
    java.lang.Double getLambda()  
    Regression.LossFunction getLossFunction()  
    java.lang.Double getLossFunctionParameter()  
    java.lang.Integer getMaxTrees()  
    java.lang.String getName()  
    java.lang.Integer getNumTopFeatureImportanceValues()  
    java.lang.String getPredictionFieldName()  
    java.lang.Long getRandomizeSeed()  
    java.lang.Double getTrainingPercent()  
    int hashCode()  
    java.lang.String toString()  
    org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject

    isFragment
  • Field Details

    • NAME

      public static final org.elasticsearch.common.ParseField NAME
  • Method Details

    • fromXContent

      public static Regression fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)
    • builder

      public static Regression.Builder builder​(java.lang.String dependentVariable)
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface DataFrameAnalysis
    • getDependentVariable

      public java.lang.String getDependentVariable()
    • getLambda

      public java.lang.Double getLambda()
    • getGamma

      public java.lang.Double getGamma()
    • getEta

      public java.lang.Double getEta()
    • getMaxTrees

      public java.lang.Integer getMaxTrees()
    • getFeatureBagFraction

      public java.lang.Double getFeatureBagFraction()
    • getNumTopFeatureImportanceValues

      public java.lang.Integer getNumTopFeatureImportanceValues()
    • getPredictionFieldName

      public java.lang.String getPredictionFieldName()
    • getTrainingPercent

      public java.lang.Double getTrainingPercent()
    • getRandomizeSeed

      public java.lang.Long getRandomizeSeed()
    • getLossFunction

      public Regression.LossFunction getLossFunction()
    • getLossFunctionParameter

      public java.lang.Double getLossFunctionParameter()
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object