note2:

The LogisticRegression and Ridge(solver='sag') code do fit the intercept
without breaking sparsity.

For other solvers in Ridge, in the case of a sparse X input, the solver
will automatically be changed to 'sag' and raise a warning.

Tom

2016-07-04 7:24 GMT+02:00 Tom Dupré la Tour <[email protected]>:

> note2:
>
> The LogisticRegression and Ridge(solver='sag') code do fit the intercept
> without breaking sparsity.
>
> For other solvers in Ridge, in the case of a sparse X input, the solver
> will automatically be changed to 'sag' and raise a warning.
> Le 2 juil. 2016 15:48, "Alexandre Gramfort" <
> [email protected]> a écrit :
>
>> note:
>>
>> the Lasso and ElasticNet code do fit the intercept without breaking
>> sparsity.
>>
>> Alex
>> _______________________________________________
>> scikit-learn mailing list
>> [email protected]
>> https://mail.python.org/mailman/listinfo/scikit-learn
>>
>
_______________________________________________
scikit-learn mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to