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, transformSchema
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validateAndTransformSchema
getLabelCol, labelCol
featuresCol, getFeaturesCol
getPredictionCol, predictionCol
addOutputColumn, checkInputColumn, explainParams, get, getParam, isSet, paramMap, params, set, set, validate, validate
uid
getRegParam, regParam
getMaxIter, maxIter
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public LinearRegression setRegParam(double value)
public LinearRegression setMaxIter(int value)