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

What is A1 #8

Open
rajatkofficial opened this issue Aug 31, 2021 · 1 comment
Open

What is A1 #8

rajatkofficial opened this issue Aug 31, 2021 · 1 comment

Comments

@rajatkofficial
Copy link

In the nocd/sampler.py
to_keep = (1 - self.A[cne1, cne2]).astype(np.bool).A1 * (cne1 != cne2)

What is A1 here this is causing Error

@shchur
Copy link
Owner

shchur commented Sep 1, 2021

This function might have been deprecated, here is the explanation with a possible fix to the problem https://numpy.org/doc/stable/reference/generated/numpy.matrix.A1.html

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