neurosim / MLP_NeuroSim_V3.0

Benchmark framework of synaptic device technologies for a simple neural network
176 stars 87 forks source link

What max/min conductance to choose when device has drop from LTPšŸ –LTD #13

Open hjteixeira opened 9 months ago

hjteixeira commented 9 months ago

Hi @neurosim

Thank you for making this program available.

Regarding the max/min values to choose for the conductance in the Cell.cpp file, what values should one choose if there's a drop in conductance when transitioning from LTP to LTD like so: rs_andreia

In the literature and even in your manual, one is accostumed to see a continous conductance change from LTP to LTD: image

But in our case there's a drop. Therefore, different states will be available to LTP and LTD. I'm struggling to see what option is the most correct to feed these parameters to the MLP:

  1. The max/min of the LTP
  2. The max/min of the LTD
  3. The max of LTP and min of LTD

Thank you

neurosim commented 9 months ago

Hello, we do not directly support the case you describe above in MLP_NeuroSim_V3.0. We recommend to use the provided MATLAB script (nonlinear_fit.m) to approximate your data in a way that is compatible with the current version of MLP_NeuroSim.

After using the script, you can change NL_LTP and NL_LTD on lines 310 and 311 of Cell.cpp. Also make sure nonlinearWrite=true.