Question: Classification by computer of handwritten digits is a standard problem in pattern recognition. The typical application is automatic reading of zip codes on envelopes. In
Classification by computer of handwritten digits is a standard problem in pattern recognition. The typical application is automatic reading of zip codes on envelopes. In this assignment you’ll address the following problem: Given a set of manually classified digits (the training set), classify a set of unknown digits (the test set) using SVD method.
Data Set
We will be using the US postal Service database that contains 1707 training and 2007 test digits (uploaded to Canvas). Each image is a grayscale 16x16 image that is converted to a 256x1 column vector by stacking all the columns of each image matrix above each other.
• The training images are stored in trainInput.csv. (256x1707).
• The correct digit corresponding to each column of trainInput is stored in trainOutput.csv. (1x1707).
• The test images are stored in testInput.csv. (256x2007).
• The correct digit corresponding to each column of testInput is stored in testOutput.csv. (1x2007).
Step by Step Solution
3.49 Rating (159 Votes )
There are 3 Steps involved in it
Part 1 Data Preprocessing 1 Implement the function meanNormalize which takes as an input a matrix of size nxm and returns a normalized matrix of the s... View full answer
Get step-by-step solutions from verified subject matter experts
