Code 2

Due by 11:59 PM on Wednesday, January 29, 2025

MNIST classification

Sequential neural network for MNIST handwritten digits classification, batch size, learning rate, callbacks, regularization, model capacity, hyperparameter tuning.

  • Download 02-starter-recipe_code.Rmd. Modified from dl-keras-tf.
  • Download 02-starter-recipe_images.zip. Extract the images folder in the same directory as the 02-starter-recipe_code.Rmd file.
  • Read and run the code in the 02-starter-recipe_code.Rmd file. Consult ChatGPT in case of errors.
  • Answer questions in the code chunks labeled “Your turn!” and describe your observations.
  • Knit the document into an HTML format and submit the knitted document.