|
Algorithm 1. Pseudo code description of COSC-Boosting algorithm. |
| COSC-Boosting |
|
Input: label sample set:
|
| unlabeled data set: , |
| maximum number of iteration: T
|
| number of randomly chosen samples in the unlabeled set for classifier updating: M’ |
| Output: the eventual classifier f
|
| procedure : |
| ; % Prepare a labeled sample set L1 for TPSRC; |
| ; % Prepare a labeled sample set L1 for TPSRC; |
| Create a buffer pool to save the M’ samples randomly chosen from U; |
| Training TPSRC hTPSRC(x) based on L1 . |
| For each
|
| ; |
| ; |
| If % gain the same label from TPSRC and MARSC |
|
|
|
|
| If both and
|
| ; %Update ; |
| ; %Update ; |
| End If |
| End If |
| End For |
| ; |
| If exist % find the labeling of most confidence |
|
|
| ; |
| End If |
| ; |
| If exist % find the labeling of most confidence |
|
|
| ; |
|
|
| If neither L1 and L2 changes then directly exit the repeating; |
| Else |
| Training hTPRSC(x) based on L1 and hMARSC(x) based on L2 separately; |
| Reset U’ and Randomly select M’ samples from U with replacement to U’; |
| End If |
| End Repeat |
| Output: the ultimate classifier ; |