OSLVQ: a training strategy for optimum-size learning vector quantization classifiers