HDBSCAN with cython development version yields TypeError: 'float' object cannot be interpreted as an integer · Issue #26535 · scikit-learn/scikit-learn · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying with the latest cython release I do get that cluster is a float, and I am not sure this is expected since this is some kind of id quickly looking at the code.
Plenty of these errors in scipy-dev, seen recently in #26154, e.g. this build
I can reproduce locally with cython development version installed through
pip install git+https://github.com/cython/cython
Debugging with print statements a bit,
cluster
is a float in this line:scikit-learn/sklearn/cluster/_hdbscan/_tree.pyx
Line 713 in 825e892
but is defined to be an int above:
https://github.com/scikit-learn/scikit-learn/blob/825e892e8c146f69df4a9113025404c9d83757a3/sklearn/cluster/_hdbscan/_tree.pyx#LL699C8-L699C54
Trying with the latest cython release I do get that
cluster
is a float, and I am not sure this is expected since this is some kind of id quickly looking at the code.cc @Micky774.
The text was updated successfully, but these errors were encountered: