Labeling data using semi-supervised learning
In this section, let us see how to generate labels using semi-supervised learning.
What is semi-supervised learning?
Semi-supervised learning falls in between supervised learning and unsupervised learning:
- In the case of supervised learning, all the training dataset is labeled
- In the case of unsupervised learning, all the training dataset is unlabeled
- In the case of semi-supervised learning, a very small set of data is labeled and the majority of the dataset is unlabeled
In this case, first we will generate the pseudo-labels using a small part of the labeled dataset with supervised learning:
- In this first step, we use this training dataset to train the supervised model and generate the additional pseudo labeled dataset:
Training dataset = small set of labeled dataset
- In this second step, we will use the small set of labeled dataset along with the pseudo-labeled dataset generated in the first step:
Training...