Spike Classifier

class slayerSNN.spikeClassifier.spikeClassifier[source]

It provides classification modules for SNNs. All the functions it supplies are static and can be called without making an instance of the class.

static getClass(spike)[source]

Returns the predicted class label. It assignes single class for the SNN output for the whole simulation runtime.

Usage:

>>> predictedClass = spikeClassifier.getClass(spikeOut)