public Group(string name, int numberOfNeuron, Neuron sampleNeuron, IGroupLearningStrategy groupLearningStrategy, ExtraInputPatternDelegate extraInputGenerator = null) { learningStrategy = groupLearningStrategy; AddCopyNeurons(numberOfNeuron, sampleNeuron); getExtraInput = extraInputGenerator; }
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)); }
public int AddGroup(string groupName, int numberOfNeurons, Neuron sampleNeuron, IGroupLearningStrategy groupLearningStrategy, int layerIdx) { Group g = new Group(groupName, numberOfNeurons, sampleNeuron, groupLearningStrategy); return(AddGroup(g, layerIdx)); }
public void SetLearningOn(IGroupLearningStrategy groupLearningStrategy) { learningStrategy = groupLearningStrategy; }
public void ResumeLearning() { learningStrategy = learningStrategyHolder; }
public void SetLearningOff() { learningStrategyHolder = learningStrategy; learningStrategy = new GroupLearningStrategies.LearningOffGroupStrategy(); }