[Needs reproducing] Handle one-dimensional embeddings for clustering #211
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi folks
I was playing around with Brain for a dataset at work, and I noticed that when I provided a
roi_field
(the detection labels) for a method that relies on clustering, I got this error.This is computed for a slice of 50 dataset samples, so we're in the first case of the error.
I also noticed this for uniqueness with the brain version we use (0.16), but by cloning the latest locally, I see that uniqueness no longer works the same way, so I did not test it. Possibly other methods that rely on clustering as well.
I can't provide the dataset and did not test this on a zoo dataset.
I will leave this as a draft until I know better, but you can let me know if you'd rather have this as an issue.