/// <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);
 }
Exemple #2
0
 private void EndEpochEvent(object network, TrainingEpochEventArgs args)
 {
     _errorList[args.TrainingIteration] = _xorNetwork.MeanSquaredError;
     _max = Math.Max(_max, _xorNetwork.MeanSquaredError);
 }
Exemple #3
0
 private void BackgroundTasks(object networkInput, TrainingEpochEventArgs args)
 {
     _errorList.AddLast(((BackpropagationNetwork)_nueralNetwork).MeanSquaredError);
     // ugh whatever else is supposed to go here.
 }
Exemple #4
0
        //public double td()

        private void EndE(object sender, TrainingEpochEventArgs e)
        {
            Console.WriteLine("Trained:" + e.TrainingIteration + " Err:" + net.MeanSquaredError);
            //throw new NotImplementedException();
        }