public interface LinearRegressionParams extends PredictorParams, HasRegParam, HasElasticNetParam, HasMaxIter, HasTol, HasFitIntercept, HasStandardization, HasWeightCol, HasSolver, HasAggregationDepth, HasLoss, HasMaxBlockSizeInMB
Modifier and Type | Method and Description |
---|---|
DoubleParam |
epsilon()
The shape parameter to control the amount of robustness.
|
double |
getEpsilon() |
Param<String> |
loss()
The loss function to be optimized.
|
Param<String> |
solver()
The solver algorithm for optimization.
|
StructType |
validateAndTransformSchema(StructType schema,
boolean fitting,
DataType featuresDataType)
Validates and transforms the input schema with the provided param map.
|
getLabelCol, labelCol
featuresCol, getFeaturesCol
getPredictionCol, predictionCol
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
getRegParam, regParam
elasticNetParam, getElasticNetParam
getMaxIter, maxIter
fitIntercept, getFitIntercept
getStandardization, standardization
getWeightCol, weightCol
aggregationDepth, getAggregationDepth
getMaxBlockSizeInMB, maxBlockSizeInMB
DoubleParam epsilon()
double getEpsilon()
Param<String> loss()
Param<String> solver()
StructType validateAndTransformSchema(StructType schema, boolean fitting, DataType featuresDataType)
PredictorParams
validateAndTransformSchema
in interface PredictorParams
schema
- input schemafitting
- whether this is in fittingfeaturesDataType
- SQL DataType for FeaturesType.
E.g., VectorUDT
for vector features.