Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

classification #2

Closed
assadRasheed opened this issue Dec 16, 2017 · 2 comments
Closed

classification #2

assadRasheed opened this issue Dec 16, 2017 · 2 comments
Assignees

Comments

@assadRasheed
Copy link

assadRasheed commented Dec 16, 2017

how can i use these spikes count in python that can classify images

@Shikhargupta Shikhargupta self-assigned this Dec 19, 2017
@Shikhargupta
Copy link
Owner

Hey @assadRasheed. I guess you are talking about the spike_count variable in Spiking-Neural-Network/classification/classify.py.
This variable stores the number of spikes fired by each neuron in output layer. For a particular image the neuron with maximum number of spikes corresponds to the class that image belongs to. For eg. suppose neuron 1 is trained for 'X' and neuron 2 for 'O' and feed an unknown image (one out of these 2 pattern). If 1 fires most then we can say that input image belongs to class 'X' and vice versa.

@assadRasheed
Copy link
Author

THANKS.
Please sir code further in Spiking-Neural-Network/classification/classify.py in such a way that it tells us which class the input image belong.
i tried a lot but failed to get the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants