Description
As discussed in SPARK-13029, we decided to keep the current behavior that sets all coefficients associated with constant feature columns to zero, regardless of intercept, regularization, and standardization settings. This is the same behavior as in glmnet. Since this is different from LIBSVM, we should document the behavior correctly, add tests, and generate warning messages if there are constant columns and `addIntercept` is false.
cc coderxiang dbtsai
Attachments
Issue Links
- relates to
-
SPARK-13029 Logistic regression returns inaccurate results when there is a column with identical value, and fit_intercept=false
- Resolved
- links to