text-classification icon indicating copy to clipboard operation
text-classification copied to clipboard

DeprecationWarning: n_iter parameter is deprecated in 0.19 and will be removed in 0.21.

Open jwilleke opened this issue 6 years ago • 2 comments

Would you look into: /.../python3.6/site-packages/sklearn/linear_model/stochastic_gradient.py:117: DeprecationWarning: n_iter parameter is deprecated in 0.19 and will be removed in 0.21. Use max_iter and tol instead. DeprecationWarning)

Thanks

jwilleke avatar Mar 26 '18 11:03 jwilleke

Thanks jwilleke.

Would you like to contribute to this? I will be more than happy to review your PR.

javedsha avatar Mar 27 '18 13:03 javedsha

Hi javedsha, I can contribute to this. Just use max_iter instead of n_iter in the SGDClassifier. Thanks.

ZhenyuLiu46 avatar Jun 17 '19 20:06 ZhenyuLiu46