| Algorithm 1: The self-learning algorithm using relabeled strategy |
|
Input: is the set of labeled data. is the set of unlabeled data. is the base model. is the Confidence level. Output: Trained classifier. |
| Step 1: Pretrain the model with labeled data and obtain the pre-trained model . |
| Repeat: |
| Step 2: Predict the unlabeled data using . |
| Step 3: Select the instances with the predicted probability more than per iteration () using relabeled strategy. |
| Step 4: Expand with i.e., and remove from U. |
| Step 5: Train the model with L. |
| Until: some stopping criterion is met or U is empty. |