Class Regression
- java.lang.Object
-
- org.elasticsearch.client.ml.dataframe.Regression
-
- All Implemented Interfaces:
DataFrameAnalysis,ToXContent,ToXContentObject
public class Regression extends java.lang.Object implements DataFrameAnalysis
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegression.Builder-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldNAME-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description static Regression.Builderbuilder(java.lang.String dependentVariable)booleanequals(java.lang.Object o)static RegressionfromXContent(XContentParser parser)java.lang.StringgetDependentVariable()java.lang.DoublegetEta()java.lang.DoublegetFeatureBagFraction()java.lang.DoublegetGamma()java.lang.DoublegetLambda()java.lang.IntegergetMaximumNumberTrees()java.lang.StringgetName()java.lang.StringgetPredictionFieldName()java.lang.DoublegetTrainingPercent()inthashCode()java.lang.StringtoString()XContentBuildertoXContent(XContentBuilder builder, 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 Detail
-
NAME
public static final ParseField NAME
-
-
Method Detail
-
fromXContent
public static Regression fromXContent(XContentParser parser)
-
builder
public static Regression.Builder builder(java.lang.String dependentVariable)
-
getName
public java.lang.String getName()
- Specified by:
getNamein 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()
-
getMaximumNumberTrees
public java.lang.Integer getMaximumNumberTrees()
-
getFeatureBagFraction
public java.lang.Double getFeatureBagFraction()
-
getPredictionFieldName
public java.lang.String getPredictionFieldName()
-
getTrainingPercent
public java.lang.Double getTrainingPercent()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-