How to train single-class classification ?
20 views (last 30 days)
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!
Ranjeet on 5 Jun 2023
Edited: Ranjeet on 5 Jun 2023
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: