Generalized Learning Vector Quantization