Your message dated Wed, 07 Aug 2024 11:50:32 +0000
with message-id <[email protected]>
and subject line Bug#1078123: fixed in scikit-learn 1.4.2+dfsg-6
has caused the Debian Bug report #1078123,
regarding scikit-learn: test_svm fails on i386 with scipy 1.13
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 [email protected]
immediately.)


-- 
1078123: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078123
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: scikit-learn
Version: 1.4.2+dfsg-5
Severity: normal
Control: forwarded -1 https://github.com/scikit-learn/scikit-learn/issues/29633

scipy 1.13 is triggering test failure in
test_svc_ovr_tie_breaking[NuSVC] on i386 architecture.

The error can be seeing in debian CI tests, 
https://ci.debian.net/packages/s/scikit-learn/unstable/i386/
Full test log at 
https://ci.debian.net/packages/s/scikit-learn/unstable/i386/50043538/
or https://ci.debian.net/packages/s/scikit-learn/testing/i386/50043537/


1333s _______________________ test_svc_ovr_tie_breaking[NuSVC] 
_______________________
1333s 
1333s SVCClass = <class 'sklearn.svm._classes.NuSVC'>
1333s 
1333s     @pytest.mark.parametrize("SVCClass", [svm.SVC, svm.NuSVC])
1333s     def test_svc_ovr_tie_breaking(SVCClass):
1333s         """Test if predict breaks ties in OVR mode.
1333s         Related issue: 
https://github.com/scikit-learn/scikit-learn/issues/8277
1333s         """
1333s         X, y = make_blobs(random_state=0, n_samples=20, n_features=2)
1333s     
1333s         xs = np.linspace(X[:, 0].min(), X[:, 0].max(), 100)
1333s         ys = np.linspace(X[:, 1].min(), X[:, 1].max(), 100)
1333s         xx, yy = np.meshgrid(xs, ys)
1333s     
1333s         common_params = dict(
1333s             kernel="rbf", gamma=1e6, random_state=42, 
decision_function_shape="ovr"
1333s         )
1333s         svm = SVCClass(
1333s             break_ties=False,
1333s             **common_params,
1333s         ).fit(X, y)
1333s         pred = svm.predict(np.c_[xx.ravel(), yy.ravel()])
1333s         dv = svm.decision_function(np.c_[xx.ravel(), yy.ravel()])
1333s >       assert not np.all(pred == np.argmax(dv, axis=1))
1333s E       assert not True
1333s E        +  where True = <function all at 0xf689d5e0>(array([1, 1, 1, 
..., 1, 1, 1]) == array([1, 1, ..., dtype=int32)
1333s E        +    where <function all at 0xf689d5e0> = np.all
1333s E           
1333s E           Full diff:
1333s E           - array([1, 1, 1, ..., 1, 1, 1], dtype=int32)
1333s E           ?                              -------------
1333s E           + array([1, 1, 1, ..., 1, 1, 1]))
1333s 
1333s /usr/lib/python3/dist-packages/sklearn/svm/tests/test_svm.py:1225: 
AssertionError


I'll add a patch to skip it in the meantime while upstream is
reworking the test.

--- End Message ---
--- Begin Message ---
Source: scikit-learn
Source-Version: 1.4.2+dfsg-6
Done: Drew Parsons <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Drew Parsons <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Wed, 07 Aug 2024 11:04:05 +0200
Source: scikit-learn
Architecture: source
Version: 1.4.2+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1078123
Changes:
 scikit-learn (1.4.2+dfsg-6) unstable; urgency=medium
 .
   * Team upload.
   * skip test_svc_ovr_tie_breaking[NuSVC] (test_svm) on i386.
     See upstream Issue#29633. Closes: 1078123.
Checksums-Sha1:
 0675d611ae645a492bf3f9a01342ba77fd5f020e 3125 scikit-learn_1.4.2+dfsg-6.dsc
 4435c275e2922331d97611e1170db71c767e5fd1 24128 
scikit-learn_1.4.2+dfsg-6.debian.tar.xz
Checksums-Sha256:
 eddaeab8de145f2683af9fa42a531bf6eba1bf988f4e0c4e977cd46506a0fd9d 3125 
scikit-learn_1.4.2+dfsg-6.dsc
 ebc813d64a250014a1c48b66c78d2d13e3db8b98a5d65df12479cb3c94b32e78 24128 
scikit-learn_1.4.2+dfsg-6.debian.tar.xz
Files:
 b80472b019556015113770caed47676c 3125 python optional 
scikit-learn_1.4.2+dfsg-6.dsc
 604121920de672419777e3f84e8e2f7a 24128 python optional 
scikit-learn_1.4.2+dfsg-6.debian.tar.xz

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

iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmazW+oACgkQVz7x5L1a
AfqJQQ//YCVtYQCwepisnnNJ5u183qU+omqXpl3LIYapIno5HoMzfyxuI1RcCU/j
75sHdAcTKE7uEFqG8yjTH5iFLzuDdlEHxfpKh/JH9iZ/nhd7BUxuZTsUqhk0H1vF
TmaCT3a/kl3sIZSRSi86QZ8h1fa9+Yqcpj2pD+r48AOPwjUVW4r3XVobsQ87NgNX
R1m8nLkclTQMEi+zYezw/XH446CxE2XrH96b5PYVzVrFacOE9nMv1JO2JOHWdtJw
8tfs0tWyO7YETZp3iTUv6rq4+MpZ5DGTSGyHKAuj6G8IRQkyVTxwOXxmrNM1Oj2D
ukUKNH7XmFYT8a57lNfxDdQIMjVdX4Vvq5JZI5tkLham8Mgo+7iWd2+q8V9IAHar
oezuggxtpe5Ir3QZH+W9P6Fu61Tpfd4IStEicPwFtTbOtdoCCrTDegKiAeIPF/g6
1pvHXwYSQvtQ6hELVZkjFITdzs0DWBuGG7kpdHKJJCL2uGLkGk5LDpUNAmH8eSyH
I0AaAicZFqWpNIVOeeY5HvMBan2pUnK+5J+GP8FFHCNX0UHxIHcXrVzpMUI20yBB
VSyJbFFQwfAubTtTUi6MqyZd17N14N59qvuJg+yqRKUBaU+ENft+pFojxNepN022
PL2ZAEvHv1nGhx9CUIWxQkamGBsro7Aj41/eDayezzpPlRiPZDo=
=ourZ
-----END PGP SIGNATURE-----

Attachment: pgpalL3JLBxMp.pgp
Description: PGP signature


--- End Message ---

Reply via email to