Skip to content

Commit

Permalink
not improving much
Browse files Browse the repository at this point in the history
  • Loading branch information
samnemo committed Jan 13, 2021
1 parent 9f52292 commit e4e047d
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions snnotes.org
Original file line number Diff line number Diff line change
Expand Up @@ -26281,3 +26281,46 @@ fig=animInput(InputImages,gifpath()+'_with_reward_input.mp4',actreward=actreward
21jan11_TARG4_B_gcp__step_3_
21jan11_TARG4_gcp__step_3_

* 21jan13
** check 21jan11_TARG4_B_gcp__step_10_

python -i simdat.py backupcfg/21jan11_TARG4_B_gcp__step_10_sim.json

EV1 0.02 Hz
EA 2.62 Hz
IA 6.32 Hz
IAL 0.9 Hz
EA2 0.54 Hz
IA2 1.75 Hz
IA2L 2.49 Hz
EMDOWN 0.81 Hz
EMUP 0.81 Hz
IM 2.9 Hz
IML 3.86 Hz

ax=plotPerf(actreward,yl=(0,2))
savefig(gifpath()+'perf.png') # [[./gif/21jan13_21jan11_TARG4_B_gcp__step_10_perf.png]]

lfn = ['21jan6_TARG4_gcp__step_' + str(i) + '_' for i in range(20)]
for i in range(11): lfn.append('21jan11_TARG4_B_gcp__step_'+str(i)+'_')
pdac = getconcatactionreward(lfn)
clf(); ax=plotPerf(pdac,yl=(0,0.6))
savefig(gifpath()+'perf_all_steps_so_far.png') # [[./gif/21jan13_21jan11_TARG4_B_gcp__step_10_perf_all_steps_so_far.png]]

lpda = getindivactionreward(lfn)
csm=cm.ScalarMappable(cmap=cm.jet); csm.set_clim((0,1));
lclr = [csm.to_rgba(float(i)/(len(lpda))) for i in range(len(lpda))]
clf(); plotComparePerf(lpda,lclr,yl=(0,2),lleg=lfn,skipscore=True,skipfollow=True)
savefig(gifpath()+'perf_compareD.png') # [[./gif/21jan13_21jan11_TARG4_B_gcp__step_10_perf_compareD.png]]

does not seem to be improving ...

clf(); drawraster(dspkT,dspkID); xlim((490e3,500e3))
savefig(gifpath()+'rast.png') # [[./gif/21jan13_21jan11_TARG4_B_gcp__step_10_rast.png]]

clf(); pdfc = getconcatweightpdf(lfn)
popwtsE = plotMeanWeights(pdfc,gca(),msz=6,xl=(0,np.amax(pdfc.time)),lpop=['EMDOWN','EMUP','EA','EA2'],lclr=['r','b','g','c'],plotindiv=False)
savefig(gifpath()+'all_steps_avg_weight.png') # [[./gif/21jan13_21jan11_TARG4_B_gcp__step_10_all_steps_avg_weight.png]]

may as well continue some more to see if improves but no indication that's happening right now...

0 comments on commit e4e047d

Please sign in to comment.