public class LogisticRegressionWithSGD extends GeneralizedLinearAlgorithm<LogisticRegressionModel> implements scala.Serializable
LogisticRegressionWithSGD.optimizer
.
Using LogisticRegressionWithLBFGS
is recommended over this.
Modifier and Type | Method and Description |
---|---|
GradientDescent |
optimizer()
The optimizer to solve the problem.
|
getNumFeatures, isAddIntercept, run, run, setIntercept, setValidateData
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public GradientDescent optimizer()
GeneralizedLinearAlgorithm
optimizer
in class GeneralizedLinearAlgorithm<LogisticRegressionModel>