CFSBFDroid: Android Malware Detection Using CFS + Best First Search-Based Feature Selection
Algorithm 4
Pseudocode for the multiclass classifier.
Input (MCC): A training set
(1)
Dataset X as defined above and Prediction class (C) where l ∈ {0, 1} is the class labels in dataset X
(2)
For each class label l
(3)
Make a new class label vector M where M = l if l = (0 or 1) otherwise M = 0
(4)
Apply binary classification B to datasets X and M to obtain f(l). f(l) is a list of binary classifiers All the classifiers applied to dataset X, and those whose confidence score is high are selected.
(5)
The confidence score can be defined as follows f(l) (x) All the classifiers applied to dataset X, and those whose confidence score is high are selected.