/// <summary> /// Implements the end epoch method. /// </summary> /// <param name="evt">The epoch end event</param> public void EpochEnd(TrainingEpochEvent evt) { Trainer t = (Trainer)evt.Trainer; ArrayList errors = pocket.GetErrors(); foreach(string error in errors) { pocket.SaveNetwork(error, evt.Network, t); } }
/// <summary> /// Implements epoch end listeners. /// </summary> /// <param name="evt">The epoch end event</param> public void EpochEnd(TrainingEpochEvent evt) { Trainer t = evt.Trainer; if (t.ErrorManager.GetError(name) <= stopValue) { t.RequestTermination(); } }
/// <summary> /// An implementation of the <CODE>EpochEventListener</CODE> interface. /// Terminates training once the training error drops below the threshold /// value. /// </summary> /// <param name="evt">The epoch event</param> public void EpochEnd(TrainingEpochEvent evt) { // TODO Auto-generated method stub Trainer t = evt.Trainer; if (t.ErrorManager.GetError(errorName) < error) { t.RequestTermination(); } }
/// <summary> /// Implements the end epoch method. /// </summary> /// <param name="evt">The epoch end event</param> public void EpochEnd(TrainingEpochEvent evt) { Trainer t = (Trainer)evt.Trainer; ArrayList errors = pocket.GetErrors(); foreach (string error in errors) { pocket.SaveNetwork(error, evt.Network, t); } }
/// <summary> /// Implements epoch end listeners. /// </summary> /// <param name="evt">The epoch end event</param> public void EpochEnd(TrainingEpochEvent evt) { Trainer t = evt.Trainer; if(t.ErrorManager.GetError(name) <= stopValue) { t.RequestTermination(); } }
/// <summary> /// An implementation of the <CODE>EpochEventListener</CODE> interface. /// Terminates training once the training error drops below the threshold /// value. /// </summary> /// <param name="evt">The epoch event</param> public void EpochEnd(TrainingEpochEvent evt) { // TODO Auto-generated method stub Trainer t = evt.Trainer; if(t.ErrorManager.GetError(errorName) < error) { t.RequestTermination(); } }