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

Sort the one-hot-encoding for reproducible results #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chao1224
Copy link

@chao1224 chao1224 commented May 7, 2020

To #58, the results are not reproducible. It's caused by the one-hot encoding for the label while loading the data. We can get reproducible results after fixing the class order.

@chenjw505
Copy link

To #58, the results are not reproducible. It's caused by the one-hot encoding for the label while loading the data. We can get reproducible results after fixing the class order.

why the order of classes will change the result?

@Teassassin
Copy link

To #58, the results are not reproducible. It's caused by the one-hot encoding for the label while loading the data. We can get reproducible results after fixing the class order.

why the order of classes will change the result?

set() returns different results
classes = set(labels)

@BackMountainDevil
Copy link

BackMountainDevil commented Feb 28, 2024

similar to #53

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.

None yet

5 participants