What is the minimum dataset required for one class?
Show older comments
I'm doing project on electric circuit diagram recognition. I have segmented the components but after feature extraction the classifier does not classify correctly. I have considered 8 images for each class. Is it enough?
Answers (1)
Ameer Hamza
on 4 May 2020
0 votes
Definitely now enough. Not even close. Consider the MNIST dataset, which is used to train a network on handwritten images for recognition of digits, a task much relatively simpler than classifying a circuit diagram. And even it uses 60000 images for training (about 6000 for each digit).
My suggestion is to use some non-image based classification technique. For example, develop a strategy to extract features of a circuit diagram based on its properties, e.g., number of component, type of connections, type of sources, etc. However, this task in itself can be very complicated.
3 Comments
ABHINAV M S
on 5 May 2020
Ameer Hamza
on 5 May 2020
Even if you are using SVM, image-based features will still require a large dataset. Even non-image based features will still require quite a large dataset. Also, if you are going to use SVM, then are you sure that these image-based features you mentioned have a strong correlation with the class of circuit diagram?
ABHINAV M S
on 5 May 2020
Categories
Find more on Keypoint Detection in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!