-
Notifications
You must be signed in to change notification settings - Fork 98
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
KMNIST kNN #10
Comments
Thanks, that’s a good datapoint to know!
…On Tue, Mar 26, 2019 at 8:25 AM Andrei Dzis ***@***.***> wrote:
Closed #10 <#10>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGBoHlSaYoK1E5J_aVbVI3pW5nCGBo2vks5vaVr2gaJpZM4cJ4xh>
.
|
Added, it would be good to also have data points for MNIST and K-49 |
@mxbi Thanks for credit! |
See also #13 for K-49 and MNIST code/details |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding PCA dimension reduction produces better Test Accuracy
x_train = x_train.reshape(-1, 784)
x_test = x_test.reshape(-1, 784)
After this code rows:
pca = PCA(n_components= 60, random_state= 0 )
x_train = pca.fit_transform(x_train)
x_test = pca.transform(x_test)
The resulting is
Test accuracy: 0.9398
The text was updated successfully, but these errors were encountered: