What are training Images?

6 次查看(过去 30 天)
How to train images using classifiers?

采纳的回答

Walter Roberson
Walter Roberson 2014-1-26
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 个评论
Mansa Murthy
Mansa Murthy 2019-3-2
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 2019-3-2
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.

请先登录,再进行评论。

更多回答(1 个)

idris
idris 2024-6-4
How do I extract features in my 'transformer-based vehicle trajectory prediction project'?

Community Treasure Hunt

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

Start Hunting!

Translated by