alidist
alidist copied to clipboard
Bump scikit-learn on older python versions
Fixes the following error (tested on python 3.10)
Error compiling Cython file:
------------------------------------------------------------
...
# Max value for our rand_r replacement (near the bottom).
# We don't use RAND_MAX because it's different across platforms and
# particularly tiny on Windows/MSVC.
RAND_R_MAX = 0x7FFFFFFF
cpdef sample_without_replacement(np.int_t n_population,
^
------------------------------------------------------------
sklearn/utils/_random.pxd:18:33: 'int_t' is not a type identifier