Exemple #1
0
 public Group(string name, int numberOfNeuron, Neuron sampleNeuron,
              IGroupLearningStrategy groupLearningStrategy, ExtraInputPatternDelegate extraInputGenerator = null)
 {
     learningStrategy = groupLearningStrategy;
     AddCopyNeurons(numberOfNeuron, sampleNeuron);
     getExtraInput = extraInputGenerator;
 }
Exemple #2
0
        public int AddGroup(string groupName, int numberOfNeurons, Neuron sampleNeuron,
                            IGroupLearningStrategy groupLearningStrategy, ExtraInputPatternDelegate extraInputGenerator, int layerIdx)
        {
            Group g = new Group(groupName, numberOfNeurons, sampleNeuron, groupLearningStrategy, extraInputGenerator);

            return(AddGroup(g, layerIdx));
        }
Exemple #3
0
 public void RemoveExtraInputGenerator()
 {
     this.getExtraInput = null;
 }
Exemple #4
0
 public void SetExtraInputGenerator(ExtraInputPatternDelegate extraGenerator)
 {
     this.getExtraInput = extraGenerator;
 }