A quantum-inspired version of the nearest mean classifier