Valero-Mas, Jose J., Castellanos, Francisco J. Data Reduction in the String Space for Efficient kNN Classification through Space Partitioning Valero-Mas JJ, Castellanos FJ. Data Reduction in the String Space for Efficient kNN Classification through Space Partitioning. Applied Sciences. 2020; 10(10):3356. doi:10.3390/app10103356 URI: http://hdl.handle.net/10045/106979 DOI: 10.3390/app10103356 ISSN: 2076-3417 Abstract: Within the Pattern Recognition field, two representations are generally considered for encoding the data: statistical codifications, which describe elements as feature vectors, and structural representations, which encode elements as high-level symbolic data structures such as strings, trees or graphs. While the vast majority of classifiers are capable of addressing statistical spaces, only some particular methods are suitable for structural representations. The kNN classifier constitutes one of the scarce examples of algorithms capable of tackling both statistical and structural spaces. This method is based on the computation of the dissimilarity between all the samples of the set, which is the main reason for its high versatility, but in turn, for its low efficiency as well. Prototype Generation is one of the possibilities for palliating this issue. These mechanisms generate a reduced version of the initial dataset by performing data transformation and aggregation processes on the initial collection. Nevertheless, these generation processes are quite dependent on the data representation considered, being not generally well defined for structural data. In this work we present the adaptation of the generation-based reduction algorithm Reduction through Homogeneous Clusters to the case of string data. This algorithm performs the reduction by partitioning the space into class-homogeneous clusters for then generating a representative prototype as the median value of each group. Thus, the main issue to tackle is the retrieval of the median element of a set of strings. Our comprehensive experimentation comparatively assesses the performance of this algorithm in both the statistical and the string-based spaces. Results prove the relevance of our approach by showing a competitive compromise between classification rate and data reduction. Keywords:String space, Data reduction, k-Nearest neighbor, Prototype generation MDPI info:eu-repo/semantics/article