Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You may use MNIST data for the first assignment. You can train and test a classifier on this data. But the core challenge is still
You may use MNIST data for the first assignment. You can train and test a classifier on this data. But the core challenge is still to figure out what it is that the hidden nodes are responding to and making the task more complex will not change this as the core focus. You need to conduct a minimum of the following experiments for this data, in order to get some useful insights. You NEED to conduct more experiments eg variations of Experiment in order to get better insights.
EXPERIMENT : Our dense neural network will consist of input nodes, a hidden layer with node and output nodes corresponding to the digits We use mnist.loaddata to get the images divided into a set of training images and test images. We hold back of the training images for validation. After training the model, we group the activation values of the hidden node for the original set of training images by the predicted classes and visualize these sets of values using a boxplot. We expect the overlap between the range of values in the "boxes" to be minimal. In addition, we find the pattern that maximally activates the hidden node as a "warm up exercise for similar analysis we will perform on CNN models in Assignment
EXPERIMENT : This time our dense neural network will have input nodes, a hidden layer with nodes and output nodes corresponding to the digits For each of the images, the output of the two hidden nodes are plotted using a scatterplot. We color code the points according to which of the classes the the output of the two nodes predicts. Ideally, just like in EXPERIMENT the color clusters should have very little overlap. Also compare the accuracy & confusion matrix of Experiments & Again, the goal is to get more insights.
EXPERIMENT : You can explore with more hidden nodes. At least more variations of this architecture NEEDS to be tried. Then you end up with final model. Say the best model.
EXPERIMENT : Use PCA decomposition to reduce the number of dimensions of our training set of x dimensional MNIST images from to with of training images variance lying along these components We also reduce the number of dimensions of 'best' model from Experiment to inputs nodes and train it on the new lower dimensional data. We then compare the performance of Experiments and
EXPERIMENT : We use a Random Forest classifier to get the relative importance of the features pixels of the x dimensional images in training set of MNIST images and select the top features pixels We train our 'best' dense neural network using these features and compare its performance to the the dense neural network models from EXPERIMENTS and
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started