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

Apply the same preprocessing to the test set as to the training set #213

Merged
merged 1 commit into from
May 19, 2023

Conversation

rcurtin
Copy link
Member

@rcurtin rcurtin commented May 15, 2023

I noticed while reading the CI logs for #209 that the test accuracy on mnist_batch_norm and mnist_simple was atrocious (9%!) even though the training and validation accuracies seemed fine. A quick look indicated that this was because we were using the wrong dimension for labels, and for mnist_simple we weren't normalizing the test data. Easy fix, and now the test accuracies for both are what is expected (95%+).

@github-actions
Copy link

Binder 👈 Launch a binder notebook on branch rcurtin/examples/fix-test-preprocessing

Copy link
Member

@birm birm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had some issues checking this out with the binder link (seemed to freeze at step 40/63 when looking for the python dependencies; maybe it was just slow, but I came back some time later where it had just nondescriptly errored. I'll try it again next PR).

That said, this clearly fixes the issue. Hope you're doing well rcurtin!

Copy link

@mlpack-bot mlpack-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Second approval provided automatically after 24 hours. 👍

@rcurtin
Copy link
Member Author

rcurtin commented May 19, 2023

Thanks! Yeah, doing well, just chugging away at a first release of bandicoot. :) Hope things are well for you too!

@rcurtin rcurtin merged commit f88e690 into mlpack:master May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants