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

27th Sep 2020, 9:00 AM
Rohit
Rohit - avatar
1 Resposta
+ 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
29th Sep 2020, 11:10 PM
Martin
Martin - avatar