Quantronauts / quantum_data-classifier

Classifier for quantum data
1 stars 0 forks source link

Classify same as closest training vector #1

Open muttley2k opened 3 years ago

muttley2k commented 3 years ago

Let the classifier essentially contain all the training vectors, and during testing the classifier's task should be to figure out which training vector is the closest (e.g. in terms of vector distance) to the vector being classified. The test vector will be assigned the same label as the training vector closest to it.

The philosophy behind is that if we want to classify regions of the Hilbert space, we cannot really be smarter than the training set... that's all the information we have. (Actually, SVMs are based on a similar idea, but smarter :-)

I expect that the one-shot restriction during testing will make things tricky.

mickahell commented 3 years ago

See that : https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm

muttley2k commented 3 years ago

Yeah, something like this, but quantum :-)

Zed-Is-Dead commented 3 years ago

This is also somehow linked to kernel methods (cf. Maria's paper): the training data determines the quantum model.