/// <summary> /// Learn for the entire network. /// </summary> protected void Learn() { _network.PerformConnectionTask(c => { LearnConnection(c); c.SetTempTraining(0, 0); } ); }
/// <summary> /// Construct the RPROP trainer. /// </summary> /// <param name="theNetwork">The network to train.</param> /// <param name="theTraining">The training set.</param> /// <param name="initialUpdate">The initial update.</param> /// <param name="theMaxStep">The max step.</param> public FreeformResilientPropagation(FreeformNetwork theNetwork, IMLDataSet theTraining, double initialUpdate, double theMaxStep) : base(theNetwork, theTraining) { _maxStep = theMaxStep; theNetwork.TempTrainingAllocate(1, 4); theNetwork.PerformConnectionTask(c => c.SetTempTraining(TempUpdate, initialUpdate)); }