/// <summary> /// This is designed to run any end of epoch events. /// </summary> /// <param name="networkInput">The network input.</param> /// <param name="args">The <see cref="TrainingEpochEventArgs"/> instance containing the event data.</param> private void BackgroundTasks(object networkInput, TrainingEpochEventArgs args) { _errorList.AddLast(((BackpropagationNetwork)_nueralNetwork).MeanSquaredError); }
private void EndEpochEvent(object network, TrainingEpochEventArgs args) { _errorList[args.TrainingIteration] = _xorNetwork.MeanSquaredError; _max = Math.Max(_max, _xorNetwork.MeanSquaredError); }
private void BackgroundTasks(object networkInput, TrainingEpochEventArgs args) { _errorList.AddLast(((BackpropagationNetwork)_nueralNetwork).MeanSquaredError); // ugh whatever else is supposed to go here. }
//public double td() private void EndE(object sender, TrainingEpochEventArgs e) { Console.WriteLine("Trained:" + e.TrainingIteration + " Err:" + net.MeanSquaredError); //throw new NotImplementedException(); }