项目作者: DevChuriwala

项目描述 :
SAiDL Summer of Code Project
高级语言: Python
项目地址: git://github.com/DevChuriwala/SpikingNeuralNetwork.git
创建时间: 2020-05-31T13:15:15Z
项目社区:https://github.com/DevChuriwala/SpikingNeuralNetwork

开源协议:

下载


SAiDL Summer of Code

This repo contains the 2 models for the SSoC project. The first one is a Leaky Intgerate and Fire (LIF) model, which is modeled using numpy and matplotlib in Python3. The second one is a simple 2-layer shallow neural net, it is made to model the given input table for XOR/XNOR output of 2 binary bits using a third binary input bit.

Leaky Integrate and Fire Model

It is a basic Spiking Neuron model based on the following equations :








</t<t^{(f)}+t_{refrac}”>

Results

The observed results are plotted and saved as images in the Leaky Integrate and Fire Model folder.
The current used for each testcase is mentioned below.

  1. Input Values :
  2. I. I = 2uA for 10ms <= t <= 75ms; I = 0Amp otherwise
  3. II. I = 1.5uA for 0ms <= t <= 100ms
  4. III. I = 5sint)uA where ω = 45deg/msec
  5. IV. I = -2sin1t) + 3sin2t) + cos3t)uA where ω1 = 45deg/msec, ω2 = 60 deg/msec, ω3 = 30 deg/msec

Artificial Neural Network for XNOR/XOR

This is a basic model to predict the XOR/XNOR values of 2 binary single bit inputs based on a third bit (switch). It is a shallow network as the data is ordered and easy to classify.

Input Values

Bit 1 Bit 2 XNOR(0)/XOR(1) Output
1 1 0 1
1 0 0 0
0 1 0 0
0 0 0 1
1 1 1 0
1 0 1 1
0 1 1 1
0 0 1 0

Author

Dev Churiwala