[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: presenting training data multiple random times
On Wednesday 09 June 2004 01:11 pm, Gert Westermann wrote:
> I'm a bit stuck with this problem: I have a set of e.g., 100 training
> items. I want to present each item for a random number of times (e.g.,
> between 1 and max_times), such that one item is randomly chosen and
> then presented for a random number of events (weight updates), then
> another item is chosen and presented for a random number of events and
> so on.
>
> Would this best be done with an Interactive Epoch, Interactive
> ScriptEnv, Sequence, or in an entirely different manner? I'm rather
> new to PDP++ so any help would be greatly appreciated.
A FreqEnv will do this if you present the events in the same order every time
(ie. EpochProc order = SEQUENTIAL). You could just call
environment->events.Permute(); in a script to permute the order of events
each epoch (put the above line in a ScriptProcess located in
EpochProcess.final_procs). Read about FreqEnv in the manual. Cheers,
- Randy