public class LogisticRegression extends ProbabilisticClassifier<Vector,LogisticRegression,LogisticRegressionModel> implements LogisticRegressionParams
Logistic regression. Currently, this class only supports binary classification.
| Constructor and Description |
|---|
LogisticRegression() |
| Modifier and Type | Method and Description |
|---|---|
LogisticRegression |
setMaxIter(int value) |
LogisticRegression |
setRegParam(double value) |
LogisticRegression |
setThreshold(double value) |
setProbabilityColsetRawPredictionColfit, setFeaturesCol, setLabelCol, setPredictionCol, transformSchemaequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateAndTransformSchemagetLabelCol, labelColfeaturesCol, getFeaturesColgetPredictionCol, predictionColaddOutputColumn, checkInputColumn, explainParams, get, getParam, isSet, paramMap, params, set, set, validate, validateuidgetRawPredictionCol, rawPredictionColgetProbabilityCol, probabilityColgetRegParam, regParamgetMaxIter, maxItergetThreshold, thresholdinitializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningpublic LogisticRegression setRegParam(double value)
public LogisticRegression setMaxIter(int value)
public LogisticRegression setThreshold(double value)