[scikit-learn] Using fit_intercept with sparse matrices

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Tue Jul 5 03:08:53 EDT 2016


> Jaidev is suggesting that fit_intercept=False makes no sense if the data is
> sparse. But I think that depends on your target variable.

It can make sense **not** to fit intercept e.g. if it has no impact on
perf it is faster to optimize without one


More information about the scikit-learn mailing list