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?

回答 (1 件)

Image Analyst
Image Analyst 2022 年 4 月 13 日

0 投票

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 件のコメント

SWATHY Kakkooth
SWATHY Kakkooth 2022 年 4 月 16 日
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
SWATHY Kakkooth
SWATHY Kakkooth 2022 年 4 月 16 日
Logistic regression classifier is shown I available when I tried using it for 2 classes
Image Analyst
Image Analyst 2022 年 4 月 16 日
You select your predictors and your response. You forgot to attach those so we can't help you unless you do.
SWATHY Kakkooth
SWATHY Kakkooth 2022 年 4 月 16 日
編集済み: SWATHY Kakkooth 2022 年 4 月 16 日
This is the window that appear after i choose the response variables. I am unable to choose logistic regression from the menu.
Image Analyst
Image Analyst 2022 年 4 月 16 日
Then I don't think the variables you input to start the session are of the correct type.
SWATHY Kakkooth
SWATHY Kakkooth 2022 年 4 月 17 日
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
Image Analyst
Image Analyst 2022 年 4 月 17 日
If you don't want to attach your data like I asked, that's fine. Good luck with your project.
SWATHY Kakkooth
SWATHY Kakkooth 2022 年 4 月 17 日
編集済み: SWATHY Kakkooth 2022 年 4 月 17 日
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.

サインインしてコメントする。

カテゴリ

質問済み:

2022 年 4 月 13 日

編集済み:

2022 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by