cesium-ml / cesium_web

Cesium Web Frontend
Other
42 stars 18 forks source link

Add `max_iter` and `tol` to sklearn LinearSGDClassifier #249

Closed stefanv closed 6 years ago

stefanv commented 6 years ago
cesium_app/tests/frontend/test_predict.py::test_add_prediction[class-LinearSGDClassifier]
  /home/stefan/envs/py36/lib/python3.6/site-packages/sklearn/linear_model/stochastic_gradient.py:128: FutureWarning: max_iter and tol parameters have been added in <class 'sklearn.linear_model.stochastic_gradient.SGDClassifier'> in 0.19. If both are left unset, they default to max_iter=5 and tol=None. If tol is not None, max_iter defaults to max_iter=1000. From 0.21, default max_iter will be 1000, and default tol will be 1e-3.
    "and default tol will be 1e-3." % type(self), FutureWarning)