How to train single-class classification ?
11 ビュー (過去 30 日間)
古いコメントを表示
Hi All,
Could anyone share me a guide to train the machine learning/ deep learning model for single label?
I cannot do this with Deep learning toolbox with VGG16
I have 1 single label of 1 typle image.
I want to train a model to classify the image belong to this type of label or not.
Evaluate base on probaility
Thanks and Regard!
Han
1 件のコメント
Walter Roberson
2023 年 5 月 19 日
Well, in theory you could train on a set of examples of features, and you could have the classifier reject an example if it was too many standard deviations outside the mean for the features. But this is a fairly weak classifier.
What would be much more common would be to train on one-versus-everything-else -- for example to identify stop signs, you would train with several examples of stop signs, and you would also include examples of other traffic signs... and of dalmations, and of blueberries, and of rivers, and of cereal boxes, and of sunsets, and of spectrograms... and so on.
The classification operation would then either predict class 1 (stop signs) or class 2 (image is something else that is not a stop sign).
採用された回答
Ranjeet
2023 年 6 月 5 日
編集済み: Ranjeet
2023 年 6 月 5 日
Hi Jenifer,
As per the description, it is a one-class classification task.
If the occurrence of the target image (the one class that is to be detected) is quite less frequent than all other classes, then the problem falls under anomaly detection. You should look at the following resources to get started:
If the target class occurs equally frequently as all the other classes, you may formulate the problem as binary classification (target vs non-target class) and try the following examples:
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!