필터 지우기
필터 지우기

Regarding usage of classifier in case of imbalance data

조회 수: 2 (최근 30일)
varinder kaur
varinder kaur 2018년 7월 14일
댓글: Rocío García Mojón 2023년 3월 21일
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 CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by