Package: scikit-learn / 1.4.2+dfsg-8

Metadata

Package Version Patches format
scikit-learn 1.4.2+dfsg-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
i386 impurity nan.patch | (download)

sklearn/tree/_export.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix i686 test failure
sphinx doc no download.patch | (download)

examples/applications/plot_out_of_core_classification.py | 4 3 + 1 - 0 !
examples/applications/plot_stock_market.py | 3 3 + 0 - 0 !
sklearn/datasets/_base.py | 2 2 + 0 - 0 !
sklearn/datasets/_openml.py | 3 3 + 0 - 0 !
4 files changed, 11 insertions(+), 1 deletion(-)

 prevent dataset download during doc build. guard with debian
 specific environment variable to avoid breaking the functionality.
relax_test_tolerance.patch | (download)

sklearn/neural_network/tests/test_mlp.py | 2 1 + 1 - 0 !
sklearn/neural_network/tests/test_rbm.py | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 relax test tolerance - this patch is needed at least for i386 (not for amd64)
 >       assert_allclose(rbm_64.components_, rbm_32.components_, rtol=1e-03, atol=0)
 E       AssertionError: 
 E       Not equal to tolerance rtol=0.001, atol=0
 E       
 E       Mismatched elements: 1 / 1024 (0.0977%)
Disable BinderHub links.patch | (download)

doc/conf.py | 8 0 + 8 - 0 !
1 file changed, 8 deletions(-)

 disable binderhub links
parallel cythonize.patch | (download)

sklearn/_build_utils/__init__.py | 6 1 + 5 - 0 !
1 file changed, 1 insertion(+), 5 deletions(-)

 get cythonize parallelization from environment

Instead of hard-coding to the CPU count, get the number of jobs for the JOBS
env var (eg: set in debian/rules), defaulting to 1 if it is not set.

no download intersphinx mapping.patch | (download)

doc/conf.py | 13 5 + 8 - 0 !
1 file changed, 5 insertions(+), 8 deletions(-)

 no-downloading intersphinx mapping
remove google analytics.patch | (download)

doc/conf.py | 2 1 + 1 - 0 !
doc/themes/scikit-learn-modern/theme.conf | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 disable google analytics referrals in the -doc
git revision cmd.patch | (download)

doc/sphinxext/github_link.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 supply github revision for built documentation

This is used for the [source] links in the documentation.

no buttons js.patch | (download)

doc/developers/contributing.rst | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 disable javascript github buttons
Use local MathJax.patch | (download)

doc/conf.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use local mathjax
fix_clean.patch | (download)

setup.py | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 provide all method to clean target


no_sphinx_gallery_recommender.patch | (download)

doc/conf.py | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 work around
    Configuration error:
    Unknown key(s) in sphinx_gallery_conf:
    'recommender'