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

Missing value in the input matrix #116

Open
anlin00007 opened this issue Aug 10, 2022 · 3 comments
Open

Missing value in the input matrix #116

anlin00007 opened this issue Aug 10, 2022 · 3 comments

Comments

@anlin00007
Copy link

Describe the bug
Hello,
Is there a way to handle the missing values in the input matrix? The net.widget() will return:
'ValueError: The condensed distance matrix must contain only finite values.'

@cornhundred
Copy link
Contributor

you can try net.swap_nan_for_zero() or Pandas dataframe's df.fillna(0). Let me know if that helps

@anlin00007
Copy link
Author

Thanks. Is it possible to set 'grey' color for the NA values?

@cornhundred
Copy link
Contributor

Hi @anlin00007 no it is currently not possible to do this.

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

2 participants