15th workshop gRFIA
9th Music Encoding Conference (MEI 2021)
Alicante, July 19-23
13th international workshop on Machine Learning and Music
(online) September 18, 2020
- Abreu, J. I.
"Detección de regularidades en contornos 2D, cálculo aproximado de medianas y su aplicación en tareas de clasificación"
Supervisors: Juan Ramón Rico
Universidad de Alicante
In this work, we address two main problems: identifying the regularities and the construction of average contours from contours encoded by Freeman chain codes. Solutions for those problems are proposed which relies in the information gathered from the Levenshtein edit distance computation. We describe a new method for quantifying the regularity of contours and comparing them, when encoded by Freeman chain codes, in terms of a similarity criterion. The criterion used allows subsequences to be found from the minimal cost edit sequence that speciﬁes an alignment of contour segments which are similar. Two external parameters adjust the similarity criterion. The information about each similar part is encoded by strings that represent an average contour region. An explanation of how to construct a prototype based on the identiﬁed regularities is also reviewed. The reliability of the prototypes is eva- luated by replacing contour groups, samples, by new prototypes used as the training set in a classiﬁcation task. This way, the size of the data set can be reduced without sensibly affecting its representational power for classiﬁcation purposes. Experimental results show that this scheme achieves a reduction in the size of the training data set of about 80% while the classiﬁcation error only increases by 0.45% in one of the three data sets studied. Also this thesis presents a new fast algorithm for computing an approximation to the mean between two strings of characters representing a 2D shape and its application to a new Wilson-based editing proce dure. The approximate mean is built by including some symbols from the two original strings. Besides, a greedy approach to this algorithm is studied which allows to reduce the time required to computed an approximate mean. The new dataset editing scheme relaxes the criterion for deleting instances proposed by the Wilson editing procedure. In practice, not all instances misclassiﬁed by their near neighbors are pruned. Instead, an artiﬁcial instance is added to the dataset in the hope of successfully classifying the instance in the future. The new artiﬁcial instance is the approximated mean of the misclassiﬁed sample and its same-class nearest neighbor. Experiments carried over three widely known databases of contours show the proposed algorithms performs very well in computing the mean of two strings, outperforming methods proposed by other authors. Particularly the low computational time required by the heuristic approach make it very suitable when dealing with long length strings. Results also shows the propo- sed preprocessing scheme can reduce the classiﬁcation error in about 83% of trials. There is empirical evidence that using the greedy approximation to compute the approximated mean does not affect the editing procedure performance. Finally, a new algorithm with which to compute an approximation to the mean of a set of strings is presented. The approximated mean is computed through the successive improvements of a partial solution. In each iteration, the edit distance from the partial solution to all the strings in the set are computed, thus accounting for the frequency of each of the edit operations in every position of the approximated mean. A goodness index for edit operations is later computed by multiplying their frequency by the cost. Each operation is tested, starting from that with the highest index, in order to verify whether applying it to the partial solution leads to an improvement. If successful, a new iteration begins from the new approximated mean. The algorithm ﬁnishes after all the operations have been examined without a better solution being found. Comparative experiments involving Freeman chain codes encoding 2D shapes show that the quality of the approximated mean string is similar to other approaches but achieves a much faster convergence.
author = "Abreu, J. I.",
title = "Detección de regularidades en contornos 2D, cálculo aproximado de medianas y su aplicación en tareas de clasificación",
editor = "Juan Ramón Rico",
organization = "Universidad de Alicante",
year = "2012"