Your message dated Sun, 11 Sep 2022 16:49:56 +0000
with message-id <e1oxq9c-006swo...@fasolo.debian.org>
and subject line Bug#1019384: fixed in scikit-learn 1.1.2+dfsg-6
has caused the Debian Bug report #1019384,
regarding scikit-learn: ppc64el fails tolerance in test_mlp with scipy 1.8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1019384: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019384
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: scikit-learn
Version: 1.1.2+dfsg-5
Severity: normal

scikit-learn fails debci tests when running with scipy 1.8.

The failing test is test_mlp_regressor_dtypes_casting in test_mlp.py

It's not a "large" failure, just that the tolerance rtol=0.0001 is not
met by a small amount. rtol=0.0002 would pass.

The error message is

______________________ test_mlp_regressor_dtypes_casting _______________________

    def test_mlp_regressor_dtypes_casting():
        mlp_64 = MLPRegressor(
            alpha=1e-5, hidden_layer_sizes=(5, 3), random_state=1, max_iter=50
        )
        mlp_64.fit(X_digits[:300], y_digits[:300])
        pred_64 = mlp_64.predict(X_digits[300:])
    
        mlp_32 = MLPRegressor(
            alpha=1e-5, hidden_layer_sizes=(5, 3), random_state=1, max_iter=50
        )
        mlp_32.fit(X_digits[:300].astype(np.float32), y_digits[:300])
        pred_32 = mlp_32.predict(X_digits[300:].astype(np.float32))
    
>       assert_allclose(pred_64, pred_32, rtol=1e-04)
E       AssertionError: 
E       Not equal to tolerance rtol=0.0001, atol=0
E       
E       Mismatched elements: 1 / 60 (1.67%)
E       Max absolute difference: 1.77346709e-06
E       Max relative difference: 0.00013333
E        x: array([-1.624248e-02,  2.327707e+00,  6.674963e-01,  4.904700e-01,
E               6.739288e-01,  3.166697e+00,  4.548126e-01,  6.674963e-01,
E              -3.220949e-02, -6.899952e-01,  6.674963e-01, -6.329127e-01,...
E        y: array([-1.624250e-02,  2.327706e+00,  6.674960e-01,  4.904711e-01,
E               6.739284e-01,  3.166698e+00,  4.548138e-01,  6.674960e-01,
E              -3.220773e-02, -6.899955e-01,  6.674960e-01, -6.329128e-01,...

/usr/lib/python3/dist-packages/sklearn/neural_network/tests/test_mlp.py:872: 
AssertionError

--- End Message ---
--- Begin Message ---
Source: scikit-learn
Source-Version: 1.1.2+dfsg-6
Done: Drew Parsons <dpars...@debian.org>

We believe that the bug you reported is fixed in the latest version of
scikit-learn, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1019...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Drew Parsons <dpars...@debian.org> (supplier of updated scikit-learn package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 11 Sep 2022 16:05:34 +0200
Source: scikit-learn
Architecture: source
Version: 1.1.2+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Drew Parsons <dpars...@debian.org>
Closes: 1019384
Changes:
 scikit-learn (1.1.2+dfsg-6) unstable; urgency=medium
 .
   * Team upload.
   * update debian patch relax_test_tolerance.patch to relax
     tolerance in test_mlp_regressor_dtypes_casting in test_mlp.py from
     neural_network. Required for ppc64el to pass with scipy 1.8 with
     pythran support. Closes: #1019384.
Checksums-Sha1:
 0e534c3119464b5920e1b38078997cbbaf66c93c 3033 scikit-learn_1.1.2+dfsg-6.dsc
 6ce2c226c3ad040bee849087734f25f3d260d1e5 22800 
scikit-learn_1.1.2+dfsg-6.debian.tar.xz
Checksums-Sha256:
 d73d60a6d62a0876bb6fa7c5919843a927cb115ba5925f6bd80fb69f28719276 3033 
scikit-learn_1.1.2+dfsg-6.dsc
 65a176064d41e80288b063ee6e8572792e2e4395a932ec17c0bfed517362f0c3 22800 
scikit-learn_1.1.2+dfsg-6.debian.tar.xz
Files:
 165bdef4e09c3f5161a99183fa7111b9 3033 python optional 
scikit-learn_1.1.2+dfsg-6.dsc
 6d4a6650f02959633b394ce992df0260 22800 python optional 
scikit-learn_1.1.2+dfsg-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmMeDdEACgkQVz7x5L1a
AfpGRw/+JE0t9irtUKnaEOIX3XvUMneTM7G+v499rHTfFqbuKJtnHxQ0FyZs/qHX
Sf9aC74+bLOsH4FZIEH6WoQyfnSatkcjE029BLAOUj9umYssfxtIGryy1P6q9dnf
sHmnvR8oBv0qhWMhHxcdqlc5yVqpmG35+K0zyRymh1XbZxLlLl/YtWnHag4PVvuc
SMX8UheRl1CxILkHUFRPRoZ+vPT9+8X+Nss9PpCuzc507GaurEF3BgUkoEIRA0rW
QS8kZdevcSerdCH8PfHL6c6vl12YOh07Qn+6fFUIriDWTAZdeaUjFh33Cmdlx9Vn
LyOU93kq2Cm0n2ZMM08HMu+UQA8wcSHdJmAuaStMSMgLQaxrKMa/S1+7Ja21C5wE
eKh/3RWOSBhyMtTe89Xy1MfHps44oKquRymGa+66BWUxNqzmRxxX4aD6/oAU5aIP
2Yrm119u+PUulq9/n4Bw3z7FkNT62LoQCY24L4bVVzOzNa0ZXBwgp1se8kGs92mN
Vcg6Eb7YCyBPD+MrOkuY+1OFgdI+9f90CwCwN2bVCzaSiG96U0sOc/S7GJd20038
JvpEUtHwfxJ0/oDb3xysRieIy9DquoFElxvWcb+8Kn8k1y1ZhWFqgo0tkJe6x57M
qIGfLUpL0bXpJY9tk154cM+0ukRr+zsFoRJfBGS4AfVU/79pL38=
=wg0J
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to