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
-
Field Summary
Fields Modifier and Type Field Description static org.elasticsearch.common.ParseField
NAME
-
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)
-
Field Details
-
NAME
public static final org.elasticsearch.common.ParseField NAME
-
-
Method Details
-
fromXContent
-
builder
-
getName
public java.lang.String getName()- Specified by:
getName
in interfaceDataFrameAnalysis
-
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
-
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 interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-