From 0b70f0ee28a67846e197f111e43f43489ebd2995 Mon Sep 17 00:00:00 2001 From: Saranraj Nambusubramaniyan Date: Wed, 30 Mar 2022 10:45:19 +0200 Subject: [PATCH] Update README.md --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index c668b1b..a974922 100644 --- a/README.md +++ b/README.md @@ -52,12 +52,12 @@ time_steps = 200 inputs = np.random.rand(num_features,time_steps) # Simulate the network with default hyperparameters under gaussian white noise -state_dict, sim_dict = Simulator.run(inputs = inputs, phase='plasticity', - state=None, noise = True, - timesteps=time_steps, - callbacks = ["ExcitatoryActivation", - "WEE", - "EEConnectionCounts"]) +state_dict, sim_dict = Simulator.run(inputs=inputs, phase='plasticity', + state=None, noise=True, + timesteps=time_steps, + callbacks=["ExcitatoryActivation", + "WEE", + "EEConnectionCounts"]) ``` ``` @@ -73,14 +73,14 @@ from sorn import Trainer inputs = np.random.rand(num_features,1) # SORN network is frozen during training phase -state_dict, sim_dict = Trainer.run(inputs = inputs, phase='training', - state=state_dict, noise= False, - timesteps=1, - ne = 100, nu=num_features, - lambda_ee = 10, eta_stdp=0.001, - callbacks = ["InhibitoryActivation", - "WEI", - "EIConnectionCounts"] ) +state_dict, sim_dict = Trainer.run(inputs= inputs, phase='training', + state=state_dict, noise=False, + timesteps=1, + ne=100, nu=num_features, + lambda_ee=10, eta_stdp=0.001, + callbacks=["InhibitoryActivation", + "WEI", + "EIConnectionCounts"] ) ``` ### Network Output Descriptions `state_dict` - Dictionary of connection weights (`Wee`, `Wei`, `Wie`) , Excitatory network activity (`X`), Inhibitory network activities(`Y`), Threshold values (`Te`, `Ti`)