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
TrainingStats.cs
Go to the documentation of this file.
1 namespace SpikingNeuronNetwork.Lib.Training
2 {
3  using Interfaces;
4  using System.Collections.Generic;
5 
9  public class TrainingStats
10  {
14  public int Id { get; set; }
15 
19  public SpikingNeuronNetwork OriginalNetwork { get; set; }
20 
24  public TrainingMethod TrainingMethod { get; set; }
25 
29  public ITrainingAlgorithm TrainingAlgorithm { get; set; }
30 
34  public double LearningRate { get; set; }
35 
39  public double MomentumLearningRate { get; set; }
40 
44  public double MaximumErrorAfterTraining { get; set; }
45 
49  public double MaximumNumberOfTrainingEpochs { get; set; }
50 
54  public List<SpikeSet> TrainingSet { get; set; }
55 
59  public ISpikingError ErrorCalculator { get; set; }
60 
64  public int NumEpochs { get; set; }
65 
69  public Dictionary<int, TrainingStatsPerEpoch> PerEpochStats { get; set; }
70 
74  public SpikingNeuronNetwork CurrentNetwork { get; set; }
75 
79  public void ResetTraining()
80  {
81  CurrentNetwork = OriginalNetwork.Clone();
82  NumEpochs = 0;
83  PerEpochStats = new Dictionary<int, TrainingStatsPerEpoch>();
84  }
85  }
86 }
TrainingMethod
Training Method Enum
void ResetTraining()
Resets training to its initial untrained state