Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The value of the smallest subnormal for <class 'numpy.float64'> type is zero. #595

Open
OlgaGKononova opened this issue Jun 22, 2023 · 2 comments

Comments

@OlgaGKononova
Copy link

After installation of hdbscan, getting bunch of warnings:

lib/python3.9/site-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
  setattr(self, word, getattr(machar, word).flat[0])
lib/python3.9/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
  return self._float_to_str(self.smallest_subnormal)
lib/python3.9/site-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
  setattr(self, word, getattr(machar, word).flat[0])
lib/python3.9/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
  return self._float_to_str(self.smallest_subnormal)

From what I understand, this comes from compiling C code.

Current numpy version 1.25, downgrading numpy doesn't help to solve the issue.

@tpelc2
Copy link

tpelc2 commented Jul 18, 2023

having the same issue

@lmcinnes
Copy link
Collaborator

This seems to potentially relate to some changes in Cython and or numpy; it is very hard to know or track down exactly where in the hdbscan code this is actually getting triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants