Skip to content

community/py3-scikit-learn: upgrade to 1.5.2

mio requested to merge mio/aports:py3-scikit-learn into master

https://scikit-learn.org/stable/whats_new/v1.5.html
https://scikit-learn.org/stable/whats_new/v1.4.html

1.4.2 includes numpy 2.0 support. Also resolves compile errors with cython 3.0.10.

[26/68] Cythonizing sklearn/linear_model/_cd_fast.pyx

Error compiling Cython file:
------------------------------------------------------------
...
    # particularly tiny on Windows/MSVC.
    # It corresponds to the maximum representable value for
    # 32-bit signed integers (i.e. 2^31 - 1).
    RAND_R_MAX = 2147483647

cpdef sample_without_replacement(cnp.int_t n_population,
                                 ^
------------------------------------------------------------

sklearn/utils/_random.pxd:19:33: 'int_t' is not a type identifier
Edited by mio

Merge request reports

Loading