Question: Machine Learning Project: using Python Files Necessary: Zero.txt, One.txt - Each file contains a tab delimitated textfile where each row is a single digit of

Machine Learning Project: using Python
Files Necessary: Zero.txt, One.txt - Each file contains a tab delimitated textfile where each row is a single digit of length 784 = 28x28 Read in the file. I used the command loadtxt Using reshape, you can express each row as a 28 x 28 matrix of greyscale values from 0 to 255. Write code to perform the following operations: i. Read in each digit. . Extract two features from the digit. ii. Plot the resulting two dimensional feature points (zeros colored red and ones colored green). iv. Try to separate the two classes as much as possible (you may not be able to completely separate them). v. If not satisfied, then try extracting different features. Files Necessary: Zero.txt, One.txt - Each file contains a tab delimitated textfile where each row is a single digit of length 784 = 28x28 Read in the file. I used the command loadtxt Using reshape, you can express each row as a 28 x 28 matrix of greyscale values from 0 to 255. Write code to perform the following operations: i. Read in each digit. . Extract two features from the digit. ii. Plot the resulting two dimensional feature points (zeros colored red and ones colored green). iv. Try to separate the two classes as much as possible (you may not be able to completely separate them). v. If not satisfied, then try extracting different features
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
