Research Article

A Novel Model for Anomaly Detection in Network Traffic Based on Support Vector Machine and Clustering

Algorithm 1

The classification algorithm for SVM-C.
Input:,,,,
Output: y
Step 1. Transform into a feature vector according to the data transformation method in Section 3.2.
Step 2. Calculate .
Step 3. If , let and is labeled as a normal URL. Otherwise, let and is labeled as an abnormal URL.