-
Notifications
You must be signed in to change notification settings - Fork 149
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
Add LabelVariable #832
base: master
Are you sure you want to change the base?
Add LabelVariable #832
Conversation
Useful for, e.g., https://pages.nist.gov/pfhub/benchmarks/benchmark8.ipynb
A few test cases? It took me a while to figure out what it was supposed to do. It only works in 2D right? Maybe have an exception in the init with different dimension? |
Imports were messed up and never tested
I'm supposed to have tests just because the code I uploaded didn't work at all? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super minor flaw.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder what the limits on "distinct non-zero regions" are in scipy.ndimage.label. Assuming (without direct evidence) that the
[[0,1,0], | ||
[1,1,1], | ||
[0,1,0]] | ||
dtype : date-type, optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"data-type"
Useful for, e.g., https://pages.nist.gov/pfhub/benchmarks/benchmark8.ipynb