[pdp-discuss] writing out delta weight changes to file
rama0042 at umn.edu
rama0042 at umn.edu
Sat Dec 30 11:27:49 MST 2006
Dear List,
I am having trouble writing out delta weight changes to a data file using
the script language.
I want to make a list of all of the connection weight changes from one
trial of learning to the next, for both the input-hidden and the
hidden-output connections.
The first question I have is: are r.pdw and s.pdw the appropriate items if
I want to access the *change* in weights from one trial to the next? I
think the answer is yes, but I want to doublecheck.
More importantly, here is the main problem that I have:
I have no problem creating a textlog: I can create a log of r.pdw or s.pdw
values, which it reports under a column titled, for example,
"Hidd[0][0][0].pdw". However, I can't figure out how to access these
values, either individually (eg: Hidd[0][0][1]), or in an iterative fashion
(iterating over the indices) and write to an output file using the script
language.
I've tried all kinds of variations on a line like this:
foutweightdeltas<<.processes[2].loop_stats[3].Hidd[i][j][k].pdw.val;
The error message says that there is no such monitorstat. So, I've also
tried variations on this kind of thing:
foutweightdeltas<<.processes[2].loop_stats[3].sum_r.pdw_Hidd.val<<;
Again, it doesn't recognize this (calling it a syntax error, and choking on
the "r.").
Any ideas?
Thanks,
Pradeep
--
Pradeep Ramanathan M.S., M.A., CCC-SLP
Speech-Language Pathologist/Doctoral Candidate
University of Minnesota
More information about the PDP-Discuss
mailing list