[pdp-discuss] question about pruning/transforming weights

Randall C. O'Reilly Randy.OReilly at colorado.edu
Tue Mar 13 15:58:19 MDT 2007


It doesn't look like this is a supported option.  You could write a script to 
do it (just a bunch of for loops over layers, units, recv.gp's), or just copy 
and paste the PruneCons functions in src/netstru.h into a new function 
(ZeroCons?) and change the lowest level guy to do a cn->wt = 0 instead of 
DisconnectFrom..

- Randy

On Tuesday 13 March 2007 17:37, Brian Monroe wrote:
> Hi,
>
> I would like to create a weight pattern similar to the effect one gets
> using the PruneCons function (using the example in the online
> documentation, this is exactly what I want to do, get rid of weights
> less than an absolute value threshold).  But I don't want to
> necessarily get rid of the connections, I just want to set the weights
> to zero.  Is there a simple way to do this?  The available
> TransformWeights functions don't seem to have this capability as far
> as I can tell.  Thanks in advance.
>
> Brian Monroe
> Graduate Student
> University of Southern California
> _______________________________________________
> PDP-Discuss mailing list
> PDP-Discuss at psych.Colorado.EDU
> http://psych.colorado.edu/mailman/listinfo/pdp-discuss


More information about the PDP-Discuss mailing list