フィルターのクリア

Regarding usage of classifier in case of imbalance data

2 ビュー (過去 30 日間)
varinder kaur
varinder kaur 2018 年 7 月 14 日
I have images database consisting of four classes, but highly imbalanced. One class contains 150 images other 1500, 1800,1000. which classifier can be used to get efficient results for classification. How can i divide these images into training and testing. Kindly help

採用された回答

Image Analyst
Image Analyst 2018 年 7 月 14 日
You can use randsample() or randperm() to get a list of 120 (80% of the smallest group) from each of the 4 groups. Use those 480 images for training, and the rest for testing/validation of the model.
  4 件のコメント
varinder kaur
varinder kaur 2018 年 7 月 15 日
Thanks Image Analyst for the answer
Rocío García Mojón
Rocío García Mojón 2023 年 3 月 21 日
Hi, I have a similar problem to varinder kaur. I have a photo type database and these are unbalanced. It is about medical images. On one side, I have 655 pictures of the healthy type and 16000 of the diseased type. I would like to increase the number of pictures in the minority group, but so far I have not found a good way to do it.
Thanks in advance
Regards

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by