Hojas-Mazo, Wenny, Maciá Pérez, Francisco, Berna-Martinez, Jose Vicente, Moreno-Espino, Mailyn, Lorenzo Fonseca, Iren, Pavón Mestras, Juan Framework Based on Simulation of Real-World Message Streams to Evaluate Classification Solutions Hojas-Mazo W, Maciá-Pérez F, Berná Martínez JV, Moreno-Espino M, Lorenzo Fonseca I, Pavón J. Framework Based on Simulation of Real-World Message Streams to Evaluate Classification Solutions. Algorithms. 2024; 17(1):47. https://doi.org/10.3390/a17010047 URI: http://hdl.handle.net/10045/140059 DOI: 10.3390/a17010047 ISSN: 1999-4893 Abstract: Analysing message streams in a dynamic environment is challenging. Various methods and metrics are used to evaluate message classification solutions, but often fail to realistically simulate the actual environment. As a result, the evaluation can produce overly optimistic results, rendering current solution evaluations inadequate for real-world environments. This paper proposes a framework based on the simulation of real-world message streams to evaluate classification solutions. The framework consists of four modules: message stream simulation, processing, classification and evaluation. The simulation module uses techniques and queueing theory to replicate a real-world message stream. The processing module refines the input messages for optimal classification. The classification module categorises the generated message stream using existing solutions. The evaluation module evaluates the performance of the classification solutions by measuring accuracy, precision and recall. The framework can model different behaviours from different sources, such as different spammers with different attack strategies, press media or social network sources. Each profile generates a message stream that is combined into the main stream for greater realism. A spam detection case study is developed that demonstrates the implementation of the proposed framework and identifies latency and message body obfuscation as critical classification quality parameters. Keywords:Classification, Evaluation, Non-stationary message streams, Simulation MDPI info:eu-repo/semantics/article