MATLAB Answers

How to increase the number of samples for training?

11 views (last 30 days)
Mohammad Farhad Aryan
Mohammad Farhad Aryan on 21 Mar 2020
I am using SVM for skin disease classification but have fewer number of images and each image has more than one lesion so how I can take every lesion as a separate sample in order to increase the number of samples for training.
Any help is greatly appreciated.

  0 Comments

Sign in to comment.

Answers (1)

Dinesh Yadav
Dinesh Yadav on 24 Mar 2020
I think you can simply crop and save one lesion at a time. This will give you increased no of samples. Also you can use data augmentation. Lets say you have original image with 10 lesions you can crop it in any way having 10 images with 1 lesion each or 2 images with 5 lesions or any such combination and use data augmentation on cropped images also to increase no of training samples.

  3 Comments

Mohammad Farhad Aryan
Mohammad Farhad Aryan on 25 Mar 2020
Thank you Dinesh Yadav for your answer.
Actually, some papers used block processing and some other techniqes to consider each lesion as a separate sample in order to increase the number of samples then extracted texture features of each lesion using GLCM. I want to implement such kind of techniques to increase the number of samples and extract texture features of each lesion using GLCM but don't know how to implement it.
Help me please!
Mohammad Farhad Aryan
Mohammad Farhad Aryan on 31 Mar 2020
Thanks Dinesh Yadav for your help!
I am going forward with blob detection using regionprops which I think some papers have used it.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!