Okay, so I'm learning how to use decision trees, and want to work with images. So i've read up how they work and I kinda need help as to proceed cause I couldn't find much material (I know im not looking in the right direction).
So I have many 8x8 images. So I have taken these images and flattened them and created vectors of 192 values. [8 * 8 * 3 (3 for rgb)]. I have labeled each image as per their rotation (0, 90, 180, 270). Having these 2 data, how can I build a decision tree to calculate the the impurity and the gini, to classify the images based on their rotation?
I have read up many examples of decision trees, but all of them have examples that are not related to images (have features like age, gender, etc).
I anyone could provide my with useful sources to read up on how to use DTs for image classification, or could guide me would be really helpful as I'm blank as to what I'm supposed to with the arrays that I have.
Thank you.