Package: scikit-learn / 0.23.2-5

Metadata

Package Version Patches format
scikit-learn 0.23.2-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
remove google analytics.patch | (download)

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

 disable google analytics referrals in the -doc

  if we were to provide some information from just reading  documentation we
  had to disclose and seek approval from the user before doing that.

  Thanks Ambrose Andrews for the analysis and report

git revision cmd.patch | (download)

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

 supply github revision for built documentation

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

remove paypal.patch | (download)

doc/about.rst | 26 5 + 21 - 0 !
1 file changed, 5 insertions(+), 21 deletions(-)

 no paypal

Remove an embedded Paypal object to avoid phoning home every time the
documentation is read.

no download intersphinx mapping.patch | (download)

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

 no-downloading intersphinx mapping

===================================================================

disable doctest.patch | (download)

setup.cfg | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 disable doctest to prevent python 2 doctest failure

===================================================================

parallel cythonize.patch | (download)

sklearn/_build_utils/__init__.py | 9 1 + 8 - 0 !
1 file changed, 1 insertion(+), 8 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 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 | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 use local mathjax

Disable BinderHub links.patch | (download)

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

 disable binderhub links

Skip two tests when SciPy 1.5.patch | (download)

sklearn/ensemble/tests/test_voting.py | 5 5 + 0 - 0 !
sklearn/linear_model/tests/test_logistic.py | 6 5 + 1 - 0 !
2 files changed, 10 insertions(+), 1 deletion(-)

 skip two tests when scipy < 1.5

Skip k means convergence tests.patch | (download)

sklearn/cluster/tests/test_k_means.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip k-means convergence tests

Until GH 17428 is resolved.

NumPy div by zero check.patch | (download)

sklearn/feature_extraction/tests/test_text.py | 8 8 + 0 - 0 !
sklearn/metrics/tests/test_classification.py | 7 7 + 0 - 0 !
sklearn/metrics/tests/test_ranking.py | 6 6 + 0 - 0 !
3 files changed, 21 insertions(+)

 numpy div-by-zero check

Skip some tests where NumPy does not report FP division-by-zero, which
has been observed on armel (soft-float).

This is not a bug in NumPy, but rather originates with the underlying
platform. See also
 * https://lists.debian.org/debian-arm/2020/02/msg00076.html.
 * https://github.com/numpy/numpy/issues/15562

Use assert_allclose instead of equality in FP comparison.patch | (download)

sklearn/decomposition/tests/test_pca.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 use assert_allclose instead of equality in fp comparison

Change expected result type to pass on 32 bit.patch | (download)

sklearn/datasets/tests/test_base.py | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 change expected result type to pass on 32-bit

Increase tolerance for RANSACRegressor test.patch | (download)

sklearn/linear_model/tests/test_ransac.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 increase tolerance for ransacregressor test

fix_scipy1.6_PR18711.patch | (download)

sklearn/neighbors/_binary_tree.pxi | 2 1 + 1 - 0 !
sklearn/utils/_seq_dataset.pyx.tp | 2 1 + 1 - 0 !
sklearn/utils/optimize.py | 7 6 + 1 - 0 !
3 files changed, 8 insertions(+), 3 deletions(-)

 [patch 01/10] ci fix travis cron job failures


skip_test_ELKI_PR19115.patch | (download)

sklearn/cluster/tests/test_optics.py | 13 11 + 2 - 0 !
1 file changed, 11 insertions(+), 2 deletions(-)

 [patch 1/2] tst skips test for arm [cd build]