Spiking Neuron Network Simulator  1.0
Simulation and training of spiking neuron networks, primarily theta neurons
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
TrainingStatsPerEpoch.cs
Go to the documentation of this file.
1 namespace SpikingNeuronNetwork.Lib.Training
2 {
3  using System;
4  using System.Collections.Generic;
5 
9  public class TrainingStatsPerEpoch : Tuple<double, List<int>>
10  {
16  public TrainingStatsPerEpoch(double error, List<int> nonFiringNeuronIndices) : base(error, nonFiringNeuronIndices)
17  {
18  }
19 
24  public override string ToString()
25  {
26  return "Error of " + Item1 + ((Item2.Count > 0) ? " with Neuron(s) " + String.Join(",", Item2) + " Not Firing" : " with All Neurons Firing");
27  }
28  }
29 }
TrainingStatsPerEpoch(double error, List< int > nonFiringNeuronIndices)
Creates a new TrainingStatsPerEpoch instance
override string ToString()
Creates a string representation of the TrainingStatsPerEpoch object
Training Stats Per Epoch Class, inherits from a tuple representing the error and non-firing neuron in...