Answered step by step
Verified Expert Solution
Question
1 Approved Answer
submit your report and codes on canvas by the deadline. Please do not send HWs by email. Problem 1. Cats and birds classification The goal
submit your report and codes on canvas by the deadline. Please do not send HWs by email. Problem 1. Cats and birds classification The goal of this problem is image classification. There are two classes: cats and birds. You are given 28 training images, train1.jpg through train28.jpg. The first 14 images correspond to cats, and the remaining images correspond to birds. The labels for the images can be found in the file train lab.mat. Your job will be to classify 12 new images, Test1.jpg through Test12.jpg. To do so follow the following steps. a. For each image on the training sample, use Tucker decomposition with R1 = 10, R2 = 10, R3 = 3. Use the core tensor of the images to train a random forest with 100 trees. Note that for each image you will need to vectorize the core tensor obtained. You can use the MATLAB function 'TreeBagger" to build the forest. Predict the label for the images on the test set. Note that you will also need to use Tucker decomposition for the images on the test set. Report the classification error per class. If some of the images are miss-classified, explain why this can be
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