Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 2 5 points ) Classifying images: Download the resource file mnist.zip and the Jupyter notebook hw 3 _ skeleton 1 . ipynb. Unzip

(25 points) Classifying images: Download the resource file "mnist.zip" and the Jupyter notebook
"hw3_skeleton1.ipynb". Unzip the resource file into the same folder as the notebook (this will create
a subfolder 'mnist' containing the training and test sets). Extend the notebook by completing the
following tasks in Python. Ensure your written answers are provided directly in the notebook. In its
given form, the notebook trains a logistic regression model on the MNIST dataset to decide whether
a given data point (a grayscale image of 28 x 28 pixels) shows the digit 5 or not. Note: This notebook
has been derived from the notebook Lecture_10_MNIST_Basic_Classifier.ipynb discussed in class.
a)(20 points) Extend the existing solution by conceiving and implementing an efficient single logistic
regression classifier capable of recognizing and distinguishing between all digits from 0 to 9 in the
MNIST dataset. Demonstrate the reduction of loss during training using the 60,000 data points in
the training set. Report the classification accuracy on the test set of 10,000 data points. Specify
the number of training iterations required for the classifier to achieve a classification accuracy of
90% or more.
b)(5 points) For the solution achieved in 1a), which attains a classification accuracy of at least 90%,
determine the number of misclassifications for each digit from 0 to 9. Identify and name the most
challenging and easiest digits to classify based on these counts.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions

Question

What strategies could your community use to reduce teen pregnancy?

Answered: 1 week ago

Question

Identify barriers to group and team creativity.

Answered: 1 week ago