Skip to content

fix 'center_shift=nan' bug and add a dependency 'numba' for installing from source #38

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yangnianzu0515
Copy link

Dear,

When running the code, I also encountered the "center_shift=nan" bug (which was also reported in issue #3). I would like to thank @GenjiB for identifying the issue: "If a cluster_center is an outlier, there are no neighbor points to calculate the mean point. To calculate the mean of none points results in Nan."

@GenjiB also proposed a solution that worked for me. To facilitate the use of this solution by others, we have modified the source code accordingly. Additionally, we found that numbda needs to be installed before running the code from source, and we have added a corresponding prompt in the ReadMe file.

Best regards,
Nianzu Yang

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

Successfully merging this pull request may close these issues.

1 participant