Question: This has to be done in Python 1 . Load an mnist dataset with 3 classes ( any will do , generally these are handwritten
This has to be done in Python
Load an mnist dataset with classes any will do generally these are handwritten digits
Partition the dataset into training and as testing
Run different Autoencoders on the dataset with the following input dimensions for each network:
a
b
c
Now for each dimension the bottlenet is set to 'linear' and the other dimensions are set to tanh So the is the bottlenet and the rest are the tanh
NEXT! And this is the tricky part!! When you've got autoencoders created with different layers, dimensions etc you have to calculate to nearest neighbor accuracy for each network.
Report this in a table and explain the results.
Do this times and calculate the mean accuracy and standard deviation.
Comment on the results of the different networks
NOTE Nearest Neighbor is a simple and straightforward classifier. To predict a class label of a test sample you find knearest neighbor where k is user supplied. Assign the label of the test set by majority vote. Use Euclidean distance.
Ensure code compiles, show the code and plots and tables. Explain the results.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
