Skip to content

Conversation

@ivanmkc
Copy link

@ivanmkc ivanmkc commented Oct 13, 2020

Changed hues to reflect the number of unique classes.

Seems like both hue=0 and hue=255 look red. Restricted upper-bound of hue to 200 (violet) to differentiate the two.

Changed hues to reflect the number of unique classes.

Seems like both hue=0 and hue=255 look red. Restricted upper-bound of hue to 200 (violet) to differentiate the two.
@ivanmkc ivanmkc changed the title Update shuffle.py Changed hues to reflect the number of unique classes Oct 13, 2020
@ivanmkc
Copy link
Author

ivanmkc commented Oct 13, 2020

Without this change, the current code assigns hues to every element in the 'ordering' vector. If there are only a few unique values in 'ordering', and if these unique values are close to each other, then their colours will look very similar/indistinguishable.

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