Github user jkbradley commented on the pull request:
https://github.com/apache/spark/pull/5301#issuecomment-90230345
I'm going to say no; that sounds like an extra option we could add later.
More details on that API:
* Our current API: Either fit the intercept, or fix it at 0. Do not
regularize it if fitting.
* "bias" API in liblinear: Fit the intercept, but adjust regularization by
adjusting "bias."
* My issues with this:
* It's not intuitive (if I understand their API correctly). To avoid
regularizing the intercept, you set the "bias" to be large.
* R glmnet uses our current API (fit intercept or don't), and it seems
like a more authoritative codebase to follow.
Later on, I could imagine us adding the option to regularize the intercept.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]