Package org.apache.spark.ml.param.shared
Interface HasElasticNetParam
- All Superinterfaces:
- Identifiable,- Params,- Serializable
- All Known Subinterfaces:
- LinearRegressionParams,- LogisticRegressionParams
- All Known Implementing Classes:
- LinearRegression,- LinearRegressionModel,- LogisticRegression,- LogisticRegressionModel
Trait for shared param elasticNetParam. This trait may be changed or
 removed between minor versions.
- 
Method SummaryModifier and TypeMethodDescriptionParam for the ElasticNet mixing parameter, in range [0, 1].doubleMethods inherited from interface org.apache.spark.ml.util.IdentifiabletoString, uidMethods inherited from interface org.apache.spark.ml.param.Paramsclear, copy, copyValues, defaultCopy, defaultParamMap, estimateMatadataSize, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
- 
Method Details- 
elasticNetParamDoubleParam elasticNetParam()Param for the ElasticNet mixing parameter, in range [0, 1]. For alpha = 0, the penalty is an L2 penalty. For alpha = 1, it is an L1 penalty.- Returns:
- (undocumented)
 
- 
getElasticNetParamdouble getElasticNetParam()
 
-