Theory of spike timing based neural classifiers