0
How to classify image using logistics regression
I know how to use sklearn for logistics regression model But my problem is that, image has multi dimensional array so plz tell me how do i fit multidimensional array and predict image using logistics regression model
1 Réponse
+ 2
If I understand what you're saying, you don't know how to deal with images as samples for applying machine learning techniques. If that's the case, you must consider each pixel as a feature of the problem; that means that if your dataset images consist of NxM pixels, each sample of your problem will have N*M features. As you can see, it's heavy to compute training for this problem, so it exists PCA techniques (Principal Components Analysis) to reduce dimensions of problems like this