Class LogisticRegressionParams.LogisticRegressionParamsBuilder
java.lang.Object
org.opensearch.ml.common.input.parameter.regression.LogisticRegressionParams.LogisticRegressionParamsBuilder
- Enclosing class:
LogisticRegressionParams
-
Method Summary
Modifier and TypeMethodDescriptionbuild()learningRate(Double learningRate) loggingInterval(Integer loggingInterval) momentumFactor(Double momentumFactor) momentumType(LogisticRegressionParams.MomentumType momentumType) objectiveType(LogisticRegressionParams.ObjectiveType objectiveType) optimizerType(LogisticRegressionParams.OptimizerType optimizerType) toString()
-
Method Details
-
objectiveType
public LogisticRegressionParams.LogisticRegressionParamsBuilder objectiveType(LogisticRegressionParams.ObjectiveType objectiveType) - Returns:
this.
-
optimizerType
public LogisticRegressionParams.LogisticRegressionParamsBuilder optimizerType(LogisticRegressionParams.OptimizerType optimizerType) - Returns:
this.
-
momentumType
public LogisticRegressionParams.LogisticRegressionParamsBuilder momentumType(LogisticRegressionParams.MomentumType momentumType) - Returns:
this.
-
learningRate
- Returns:
this.
-
epsilon
- Returns:
this.
-
momentumFactor
public LogisticRegressionParams.LogisticRegressionParamsBuilder momentumFactor(Double momentumFactor) - Returns:
this.
-
beta1
- Returns:
this.
-
beta2
- Returns:
this.
-
decayRate
- Returns:
this.
-
epochs
- Returns:
this.
-
batchSize
- Returns:
this.
-
loggingInterval
public LogisticRegressionParams.LogisticRegressionParamsBuilder loggingInterval(Integer loggingInterval) - Returns:
this.
-
seed
- Returns:
this.
-
target
- Returns:
this.
-
build
-
toString
-