Multiclass logistic regression classifier for image classification

I have to solve a classification problem of classifying images into 3 classes using logistic regression classifier? Is it possible to use classification learner?

Answers (1)

Logistic regression is one of the models in the Classification Learner app. But you have to give it a list of features for the images rather than the image itself. If you don't have those and just want to give it the image, then you'll have to use something like Deep Learning Classification (transfer learning).

8 Comments

I have extracted features from images. But I am unable to use the logistic regression classifier in classification learner app. All other classifiers are available in classification learner. How can I use the logistic regression classifier for a classification problem with 3 classes
Logistic regression classifier is shown I available when I tried using it for 2 classes
You select your predictors and your response. You forgot to attach those so we can't help you unless you do.
This is the window that appear after i choose the response variables. I am unable to choose logistic regression from the menu.
Then I don't think the variables you input to start the session are of the correct type.
I am able to use all other classifiers. I am able to use logistic regression classifier when I use 2 response classes. I am unable to use the logistic regression classifier with more than 2 response classes
If you don't want to attach your data like I asked, that's fine. Good luck with your project.
I hereby attach the matlab data file. The 7th column contains the response variables. Other 6 columns contains the features extracted. Thanks for your help. Train_featcolorl is the array containing the data.

Sign in to comment.

Asked:

on 13 Apr 2022

Edited:

on 17 Apr 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!