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

What should be the most appropriate parameter values for the MNIST dataset? #47

Open
ykocaturk opened this issue Apr 2, 2024 · 0 comments

Comments

@ykocaturk
Copy link

data preparation

x_train <- as.matrix(train[,2:785] /255)

x_test <- as.matrix(test[,2:785] /255)
y_test <- test$y

y_train <- nnet::class.ind(train$y)
colnames(y_train) <- paste("val", colnames(y_train), sep = "")
f <- as.formula(paste(paste(colnames(y_train), collapse = "+"), " ~ ",
paste(colnames(x_train), collapse = "+")))

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

No branches or pull requests

1 participant