Jannis (0.1preAlpha) | ||
Prev Class | Next Class | Frames | No Frames | |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
de.webdings.jannis.neuralnet.Coordinator
de.webdings.jannis.neuralnet.TrainingCoordinator
public class TrainingCoordinator
extends Coordinator
Coordinator
.
It does the same as its superclass yet it also features
a Teacher
and calls its method
Teacher.teach()
at the appropriate time.
Fields inherited from class de.webdings.jannis.neuralnet.Coordinator | |
giver , layers , reader |
Constructor Summary | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
Method Summary | |
void |
|
Methods inherited from class de.webdings.jannis.neuralnet.Coordinator | |
clearAll , savePattern , start |
public TrainingCoordinator(NeuralNet net, String fileNameInputPattern, String fileNameDesiredOutputPattern) throws IOException, PatternCreateException, PatternLayerMismatchException
- Parameters:
net
- The neural net to be coordinatedfileNameInputPattern
- Name of the file containing the input pattern used for the trainingfileNameDesiredOutputPattern
-
public TrainingCoordinator(NeuralNet net, String fileNameInputPattern, Pattern[] desiredOutputPattern) throws IOException, PatternCreateException, PatternLayerMismatchException
- Parameters:
net
- The neural net to be coordinatedfileNameInputPattern
- Name of the file containing the input pattern used for the trainingdesiredOutputPattern
-
public TrainingCoordinator(NeuralNet net, String fileNameInputPattern, Teacher teacher) throws IOException, PatternCreateException, PatternLayerMismatchException
- Parameters:
net
- The neural net to be coordinatedfileNameInputPattern
- Name of the file containing the input pattern used for the trainingteacher
- The teacher used for this training
public TrainingCoordinator(NeuralNet net, PatternGiver giver, PatternReader reader, Pattern[] desiredOutputPattern) throws PatternLayerMismatchException
- Parameters:
net
- The neural net to be coordinatedgiver
-reader
-desiredOutputPattern
-
- Throws:
PatternLayerMismatchException
-
public TrainingCoordinator(NeuralNet net, Pattern[] inputPattern, Pattern[] desiredOutputPattern) throws PatternLayerMismatchException
- Parameters:
net
- The neural net to be coordinatedinputPattern
- the input pattern used for the trainingdesiredOutputPattern
-
- Throws:
PatternLayerMismatchException
-
public TrainingCoordinator(Neuron[][] layers, String fileNameInputPattern, String fileNameDesiredOutputPattern) throws IOException, PatternCreateException, PatternLayerMismatchException
- Parameters:
layers
- The layers of the neural net to be coordinatedfileNameInputPattern
- Name of the file containing the input pattern used for the trainingfileNameDesiredOutputPattern
-
public TrainingCoordinator(Neuron[][] layers, String fileNameInputPattern, Pattern[] desiredOutputPattern) throws IOException, PatternCreateException, PatternLayerMismatchException
- Parameters:
layers
- The layers of the neural net to be coordinatedfileNameInputPattern
- Name of the file containing the input pattern used for the trainingdesiredOutputPattern
-
public TrainingCoordinator(Neuron[][] layers, String fileNameInputPattern, Teacher teacher) throws IOException, PatternCreateException, PatternLayerMismatchException
- Parameters:
layers
- The layers of the neural net to be coordinatedfileNameInputPattern
- Name of the file containing the input pattern used for the trainingteacher
- The teacher used for this training
public TrainingCoordinator(Neuron[][] layers, PatternGiver giver, PatternReader reader, Pattern[] desiredOutputPattern) throws PatternLayerMismatchException
- Parameters:
layers
- The layers of the neural net to be coordinatedgiver
-reader
-desiredOutputPattern
-
- Throws:
PatternLayerMismatchException
-
public TrainingCoordinator(Neuron[][] layers, Pattern[] inputPattern, Pattern[] desiredOutputPattern) throws PatternLayerMismatchException
- Parameters:
layers
- The layers of the neural net to be coordinatedinputPattern
- the input pattern used for the trainingdesiredOutputPattern
-
- Throws:
PatternLayerMismatchException
-
public void start() throws PatternGiverReaderCommunicationException
This method overwrites the method of the superclass. It does the same asCoordinator.start()
, but additionally calls the methodTeacher.teach()
at the appropriate time.
- Overrides:
- start in interface Coordinator
- See Also:
Coordinator.start()
This file is part of Jannis.
Jannis is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Jannis is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Jannis; if not, write to the
Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Jannis (0.1preAlpha) |
© 2005 by Stefan Thesing;
Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.