public class LinearRegression extends Regressor<Vector,LinearRegression,LinearRegressionModel> implements LinearRegressionParams
Linear regression.
| Constructor and Description |
|---|
LinearRegression() |
| Modifier and Type | Method and Description |
|---|---|
LinearRegression |
setMaxIter(int value) |
LinearRegression |
setRegParam(double value) |
fit, 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, validateuidgetRegParam, regParamgetMaxIter, maxIterinitializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningpublic LinearRegression setRegParam(double value)
public LinearRegression setMaxIter(int value)