Question: this for a matlab project for digit recognition Split the Dataset In this section, we split the dataset into training and testing groups. Images Test
this for a matlab project for digit recognition
Split the Dataset In this section, we split the dataset into training and testing groups. Images Test indices: Create an array such that it increments in steps of 60 from 1 to 5000 - 84 values Train indices: All values from 1 to 5000 except the values present in the test indices - 4916 values in total - I would recommend setdiff() Note the images of train and test as well Create a variable test_images - this should contain 84 images : 20 x 20 x 84 using test indices. Create a variable train_images - this should contain 4916 images : 20 x 20 x 4916 using train indices. Labels Note the corresponding test labels i.e. labels(test_idx) should contain labels of test images - 84 x 1 Note the corresponding train labels i.e. labels(train_idx) should contain labels of train images - 4916 x 1
Step by Step Solution
3.43 Rating (159 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
