Research Article

Intelligent Intrusion Detection System for VANET Using Machine Learning and Deep Learning Approaches

Algorithm 2

Attack detection and classification using MLNET.
Inputs: Unknown attacks from KIDS module;
Output: Types of unknown attack;
Start;
  1.The unknown attacks are separated into various clusters using K-Nearest Neighbor (KNN) clustering approach using the following equation.
   , where is the unknown attack sequences from KIDS module.
  2.For each do
  3.Compute
  4.End for
  5.Sort the trained patterns.
  6.For each do
  7.Compute
  8.End for
   Apply the following criteria to identify the type of the unknown attacks based on the response of FCNN2 (y1) using
   9. End