Interface HasElasticNetParam

All Superinterfaces:
Identifiable, Params, Serializable, scala.Serializable
All Known Subinterfaces:
LinearRegressionParams, LogisticRegressionParams
All Known Implementing Classes:
LinearRegression, LinearRegressionModel, LogisticRegression, LogisticRegressionModel

public interface HasElasticNetParam extends Params
Trait for shared param elasticNetParam. This trait may be changed or removed between minor versions.
  • Method Details

    • elasticNetParam

      DoubleParam 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)
    • getElasticNetParam

      double getElasticNetParam()