Question: ******************************************************************************************************* Complicated code I need helping getting of the ground. Do not have much of an idea where to start, anything helps. Thanks! ********************************************************************************************************* 1.
*******************************************************************************************************
Complicated code I need helping getting of the ground. Do not have much of an idea where to start, anything helps. Thanks!
*********************************************************************************************************

1. (200 points) One of the most widely used data sets for evaluating machine learning applications in the image analysis area is the MNIST dataset, which provides images of handwritten digits and letters. In this homework, you will use the numbers subset from this dataset Two data files are included: . Image Data File: MNISTnumlmages5000.trt is a text file that has data for 5,000 digits, each a grayscale im age of size 28 28 pixels (i.e., 784 pixels each). Each row of the data file has 784 values representing the intensities of the image for one digit between 0 and 9. The first hundred images are shown in the included file first100.jpg. Label Data File: MNISTnumLabels5000.txt is a text file with one integer in each row, indicating the correct label of the image in the corresponding row in the image data file. Thus, the first entry 7 indicates that the first row of the image data file has data for a handwritten number 7. You need to do the following: 1. Write a program implementing multi-layer feed-forward neural networks and training them with back propagation including momentum. Your program must be able to handle any number of hidden layers and hidden neurons, and should allow the user to specify these at run-time. 2. Randomly choose 4,000 data points from the data files to form a training set, and use the remaining 1,000 data points to forua a test set 1. (200 points) One of the most widely used data sets for evaluating machine learning applications in the image analysis area is the MNIST dataset, which provides images of handwritten digits and letters. In this homework, you will use the numbers subset from this dataset Two data files are included: . Image Data File: MNISTnumlmages5000.trt is a text file that has data for 5,000 digits, each a grayscale im age of size 28 28 pixels (i.e., 784 pixels each). Each row of the data file has 784 values representing the intensities of the image for one digit between 0 and 9. The first hundred images are shown in the included file first100.jpg. Label Data File: MNISTnumLabels5000.txt is a text file with one integer in each row, indicating the correct label of the image in the corresponding row in the image data file. Thus, the first entry 7 indicates that the first row of the image data file has data for a handwritten number 7. You need to do the following: 1. Write a program implementing multi-layer feed-forward neural networks and training them with back propagation including momentum. Your program must be able to handle any number of hidden layers and hidden neurons, and should allow the user to specify these at run-time. 2. Randomly choose 4,000 data points from the data files to form a training set, and use the remaining 1,000 data points to forua a test set
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
