Відправити по sms: Efficient discriminative learning of parametric nearest neighbor classifiers