[Solved] ECE 478-Assignment 2-Image Classication

$25

File Name: ECE_478_Assignment_2_Image_Classication.zip
File Size: 367.38 KB

SKU: [Solved] ECE 478-Assignment 2-Image Classification Category: Tag:
5/5 - (1 vote)

Questions1. Image Classication1. Given CiFAR-10 dataset, implement a linear SVM classier to predict the classes of the test images. 2. Featurize the images as vectors that can be used for classication. 3. Report your observations for dierent values of C. Explain the signicance of C. 4. Compare and contrast the classier with the KNN classier built in the previous assignment. 5. Report accuracy score, F1-score, Confusion matrix and any other metrics you feel useful. 6. Report the support vector images in each case. 7. (Bonus-20 points) You may do some processing on the train set to improve your scores on linear SVM. Report your changes clearly. 8. You can use inbuilt functions for SVM.2. (100 points) Gaussian Mixture Models Clustering1. You are given 3 data les(dataset1.pkl,dataset2.pkl,dataset3.pkl) and 1 code le gmm.py. The code consists of (a) Function to load dataset. (b) Function to save dataset. (c) Class GMM1D which consists multiple functions. 2. Load dataset . 3. Use inbuilt sklearn functions to cluster(GMM clustering) the points and plot them. Also report no of iterations taken to converge. 4. In GMM1D, ll in the blanks with code and cluster the points. Plot for each iteration. 5. (Bonus-20 points) Plot the log likelihood graph to show the behaviour.3. (75 points) Linear Regression1. Given a NASA data set, obtained from a series of aerodynamic and acoustic tests of two and three-dimensional airfoil blade sections. Implement a linear regression model from scratch using gradient descent to predict scaled sound pressure level. The various attributes of the data are explained in the le description.txt. 2. Using appropriate plot show how number of iterations is aecting the mean squared error for above model under below given conditions: (a) Using 3 dierent initial regression coecients (weights) for xed value of learning parameter (All 3 in single plot).SMAI (CSE/ECE 471) Assignment 2 Page 3 of 4 Posted: 16/02/2020(b) Using 3 dierent learning parameters for some xed initial regression coecients. (All 3 in single plot) 3. If you want to apply regression on some dataset but one of its features has missing values under below given conditions, how will you approach the problem. (No need of Code Experimentation) (a) When 0-0.5% of values are missing of that feature (b) When 8-10% of values are missing of that feature (c) When 60-70% of values are missing of that feature4. (75 points) Linear Regression1. Given a dataset containing historical weather information of certain area, implement a linear regression model from scratch using gradient descent to predict the apparent temperature. The various attributes of the data are explained in the le description.txt. Note that attributes are text, categorical as well as continuous. Note: Test data will have 10 columns. Apparent temperature column will be missing from in between. 2. Compare the performance of dierent error functions ( Mean square error, Mean Absolute error, Mean absolute percentage error) and explain the reasons for the observed behaviour. 3. Analyse and report the behaviour of the regression coecients(for example: sign of coecients, value of coecients etc.) and support it with appropriate plots as necessary.5. (100 points) Support Vector Machine1. Given a dataset which contains a excerpts of text written by some author and the corresponding author tag, implement an SVM classier to predict the author tag of the test text excerpts. 2. For the feature extraction of the text segments, either use Vectorizers provided in sklearn or use pre-trained word embedding models. ( Code snippet for usage of word embedding models is given here). 3. Visualize the feature vectors and see if you could nd some pattern. 4. Tweak dierent parameters of the Linear SVM and report the results. 5. Experiment dierent kernels for classication and report the results. 6. Report accuracy score, F1-score, Confusion matrix and any other metrics you feel useful. 7. (Bonus-20 points) You may do some pre-processing on textual data to improve your classier. Explain why score has improved if it did. 8. Link to the dataset has been provided in the common link. 9. You can use inbuilt functions for SVM.SMAI (CSE/ECE 471) Assignment 2 Page 4 of 4 Posted: 16/02/202010. The code le must be a python(.py) le. You are expected to dene a class for each question which is compatible with the test.py le provided here. Make sure your code can be run by python test.py. Double check this.6. (100 points) Clustering1. Given a dataset of documents with content from 5 dierent elds ( namely business, entertainment, politics, sport, and tech ), cluster them using any clustering algorithm of your choice. 2. Do not use any libraries for this part. You are expected to code your clustering algorithm from scratch. 3. For feature extraction you can use the vectorizers provided by sklearn or by using the pre trained embeddings. ( Code snippet for the usage of these embeddings has been provided in the previous question ). 4. You might have to perform some pre-processing on the raw documents before you apply your algorithm. 5. We have provided ground truth document tags for the documents. Report accuracy score on these documents. 6. We will test your score on the documents for which the tags have not been provided. 7. In the dataset, the number after the symbol in the le name denotes the cluster label. 8. The code le must be a python(.py) le. You are expected to dene a class for each question which is compatible with the test.py le provided here. Make sure your code can be run by python test.py. Double check this.All the best!!!!

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] ECE 478-Assignment 2-Image Classication[Solved] ECE 478-Assignment 2-Image Classication
$25