Research Article

LightSEEN: Real-Time Unknown Traffic Discovery via Lightweight Siamese Networks

Algorithm 1

Model test algorithm.
 Input: test flow sample , known class flow dataset , number of samples for average distance calculation , threshold .
(1)Calculate the distance between and each class ;
(2)Find the class with the shortest distance away from , denoted as ;
(3)If , . Otherwise, .
 Output: the predicted class .