Skip to content

Commit 3c546fd

Browse files
committed
debian/tests/deb_tests_lower_precision - lowering further to 4 decimals
1 parent 2999a2f commit 3c546fd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
scikit-learn (0.17.0-4) unstable; urgency=medium
2+
3+
* debian/tests/deb_tests_lower_precision
4+
- lowering further to 4 decimals
5+
6+
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 22 Dec 2015 08:51:29 -0500
7+
18
scikit-learn (0.17.0-3) unstable; urgency=medium
29

310
* debian/control

debian/patches/deb_tests_lower_precision

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
transformer.fit(X, y, sample_weight=3 * sample_weight)
66
importances_bis = transformer.estimator_.feature_importances_
77
- assert_almost_equal(importances, importances_bis)
8-
+ assert_almost_equal(importances, importances_bis, decimal=5)
8+
+ assert_almost_equal(importances, importances_bis, decimal=4)
99

1010
# For the Lasso and related models, the threshold defaults to 1e-5
1111
transformer = SelectFromModel(estimator=Lasso(alpha=0.1))

0 commit comments

Comments
 (0)