com.salesforce.op.stages.impl.regression
stage uid
Function that fits the binary model
Function that fits the binary model
the predictor to wrap
the predictor to wrap
Sets the value of param family.
Sets the value of param family. Default is "gaussian".
Sets if we should fit the intercept.
Sets if we should fit the intercept. Default is true.
Sets the value of param link.
Sets the value of param link. Used only when family is not "tweedie".
Sets the value of param linkPower.
Sets the value of param linkPower. Used only when family is "tweedie".
Sets the link prediction (linear predictor) column name.
Sets the maximum number of iterations (applicable for solver "irls").
Sets the maximum number of iterations (applicable for solver "irls"). Default is 25.
Sets the regularization parameter for L2 regularization.
Sets the regularization parameter for L2 regularization. The regularization term is
$$ 0.5 * regParam * L2norm(coefficients)^2 $$Default is 0.0.
Sets the solver algorithm used for optimization.
Sets the solver algorithm used for optimization. Currently only supports "irls" which is also the default solver.
Sets the convergence tolerance of iterations.
Sets the convergence tolerance of iterations. Smaller value will lead to higher accuracy with the cost of more iterations. Default is 1E-6.
Sets the value of param variancePower.
Sets the value of param variancePower. Used only when family is "tweedie". Default is 0.0, which corresponds to the "gaussian" family.
Sets the value of param weightCol.
Sets the value of param weightCol. If this is not set or empty, we treat all instance weights as 1.0. Default is not set, so all instances have weight one. In the Binomial family, weights correspond to number of trials and should be integer. Non-integer weights are rounded to integer in AIC calculation.
stage uid
stage uid
Wrapper for spark Generalized Regression org.apache.spark.ml.regression.GeneralizedLinearRegression