Skip to content
Snippets Groups Projects
Commit 3c546fd1 authored by Yaroslav Halchenko's avatar Yaroslav Halchenko
Browse files

debian/tests/deb_tests_lower_precision - lowering further to 4 decimals

parent 2999a2f5
No related branches found
No related tags found
No related merge requests found
scikit-learn (0.17.0-4) unstable; urgency=medium
* debian/tests/deb_tests_lower_precision
- lowering further to 4 decimals
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 22 Dec 2015 08:51:29 -0500
scikit-learn (0.17.0-3) unstable; urgency=medium
* debian/control
......
......@@ -5,7 +5,7 @@
transformer.fit(X, y, sample_weight=3 * sample_weight)
importances_bis = transformer.estimator_.feature_importances_
- assert_almost_equal(importances, importances_bis)
+ assert_almost_equal(importances, importances_bis, decimal=5)
+ assert_almost_equal(importances, importances_bis, decimal=4)
# For the Lasso and related models, the threshold defaults to 1e-5
transformer = SelectFromModel(estimator=Lasso(alpha=0.1))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment