What are training Images?

3 views (last 30 days)
Explorer
Explorer on 26 Jan 2014
Commented: Walter Roberson on 2 Mar 2019
How to train images using classifiers?

Accepted Answer

Walter Roberson
Walter Roberson on 26 Jan 2014
Training images are a bunch of images for which the required outcome is known. You input them to a program that analyzers their features and passes the features through a classification routine that determines the appropriate weights to use on the features in order to best achieve the required result.
Once you have used the training images to determine the best weights and procedures to follow, you then pass through a set of "test" images, for which you also know the outcome. The images are extracted and the procedures and weights determined above are applied to make a prediction of how the image should classify. Then the predicted classification is compared to the actual known classification to determine how well the procedures and weights do on analyzing data that was not originally used to determine the weights. If you got a high score on the training images but a low score on the test images then the implication is that the routine "overtrained" and has become too specific to the training images and not able to predict for images whose results are not known.
Once you are getting good scores on the training images and good scores on the test images as well, you can start using the procedures and weights to analyze data for which the outcome is not known.
  6 Comments
Mansa Murthy
Mansa Murthy on 2 Mar 2019
hii .. my project is detection of diabetic retinopathy. i have completed uptill feature extraction. Now i dnt know how to train datasets using svm. Can you pleas help?
which values are to be fed into classifiers and how they are generated?
Walter Roberson
Walter Roberson on 2 Mar 2019
Well, that's the catch: no-one knows what features are the best ones to extract for classification. What some people have done is tried a whole bunch of different features, and done feature selection to figure out which of the features is most important (one the images they trained on) and used those features. But there might be a different set of features that would be even better.

Sign in to comment.

More Answers (0)

Categories

Find more on Recognition, Object Detection, and Semantic Segmentation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!