Closed StrikerRUS closed 3 years ago
Hey guys!
Seems that there is a bug in the predict method of SGDRegressor.
predict
SGDRegressor
Shouldn't intercept_ be added here?
intercept_
https://github.com/scikit-learn-contrib/lightning/blob/b96f9c674968496e854078163c8814049a7b9f43/lightning/impl/sgd.py#L395-L406 cf. https://github.com/scikit-learn-contrib/lightning/blob/b96f9c674968496e854078163c8814049a7b9f43/lightning/impl/base.py#L107-L111
Gently ping @mblondel @MechCoder @zermelozf @fabianp
Yep, I think you're right. Thanks for the catch.
Hey guys!
Seems that there is a bug in the
predict
method ofSGDRegressor
.Shouldn't
intercept_
be added here?https://github.com/scikit-learn-contrib/lightning/blob/b96f9c674968496e854078163c8814049a7b9f43/lightning/impl/sgd.py#L395-L406 cf. https://github.com/scikit-learn-contrib/lightning/blob/b96f9c674968496e854078163c8814049a7b9f43/lightning/impl/base.py#L107-L111