Research Article

Malware Detection in Self-Driving Vehicles Using Machine Learning Algorithms

Algorithm 1

Improved feature selection
Input: is a universal set with all features.
Output: is a subset with selected feature by IFS method.
1: Initialize .
2: Get all by linear correlation coefficient.
3: Sort values for .
4: Choose sets for top with high value of , for relevant variable and .
5: Get combination , where and .
6: Determine , where the maximum of F1 score with .
7: Get all by information gain.
8: Get is related to highly ranking variable.
9: Choose sets for top with high value of , relevant variable and .
10: Get elements , where and .
11: Determine , where maximum of F1 score with .
12: Merge .