Algorithm 1 Random Subspace learning classifier. |
Input:, , B,
Output:
-
1:
for to Bdo ▹ Training phase
-
2:
Set the dimension ;
-
3:
Select randomly s features from to derive ;
-
4:
▹ Build Random subspace learning classifier based on dataset and machine learning algorithm ;
-
5:
end for
-
6:
for to Bdo ▹ Testing phase
-
7:
▹ Classify instances using the built model;
-
8:
end for
-
9:
▹ Find predicted class labels using Majority voting of base classifier models;
-
10:
return;
|