Class Regression.Builder

java.lang.Object
org.elasticsearch.client.ml.dataframe.Regression.Builder
Enclosing class:
Regression

public static class Regression.Builder
extends java.lang.Object
  • Method Details

    • setLambda

      public Regression.Builder setLambda​(java.lang.Double lambda)
    • setGamma

      public Regression.Builder setGamma​(java.lang.Double gamma)
    • setEta

      public Regression.Builder setEta​(java.lang.Double eta)
    • setMaxTrees

      public Regression.Builder setMaxTrees​(java.lang.Integer maxTrees)
    • setFeatureBagFraction

      public Regression.Builder setFeatureBagFraction​(java.lang.Double featureBagFraction)
    • setNumTopFeatureImportanceValues

      public Regression.Builder setNumTopFeatureImportanceValues​(java.lang.Integer numTopFeatureImportanceValues)
    • setPredictionFieldName

      public Regression.Builder setPredictionFieldName​(java.lang.String predictionFieldName)
    • setTrainingPercent

      public Regression.Builder setTrainingPercent​(java.lang.Double trainingPercent)
    • setRandomizeSeed

      public Regression.Builder setRandomizeSeed​(java.lang.Long randomizeSeed)
    • setLossFunction

      public Regression.Builder setLossFunction​(Regression.LossFunction lossFunction)
    • setLossFunctionParameter

      public Regression.Builder setLossFunctionParameter​(java.lang.Double lossFunctionParameter)
    • setFeatureProcessors

      public Regression.Builder setFeatureProcessors​(java.util.List<PreProcessor> featureProcessors)
    • setAlpha

      public Regression.Builder setAlpha​(java.lang.Double alpha)
    • setEtaGrowthRatePerTree

      public Regression.Builder setEtaGrowthRatePerTree​(java.lang.Double etaGrowthRatePerTree)
    • setSoftTreeDepthLimit

      public Regression.Builder setSoftTreeDepthLimit​(java.lang.Double softTreeDepthLimit)
    • setSoftTreeDepthTolerance

      public Regression.Builder setSoftTreeDepthTolerance​(java.lang.Double softTreeDepthTolerance)
    • setDownsampleFactor

      public Regression.Builder setDownsampleFactor​(java.lang.Double downsampleFactor)
    • setMaxOptimizationRoundsPerHyperparameter

      public Regression.Builder setMaxOptimizationRoundsPerHyperparameter​(java.lang.Integer maxOptimizationRoundsPerHyperparameter)
    • setEarlyStoppingEnabled

      public Regression.Builder setEarlyStoppingEnabled​(java.lang.Boolean earlyStoppingEnabled)
    • build

      public Regression build()