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
public class Coordinator
extends java.lang.Object
Coordinator
is used to manage the activites of a
feed-forward neural net. In particular it coordinates
presenting the neural net with input patterns
(utilizing a PatternGiver
) and registering the
output produced by the net (utilizing a
PatternReader
.
It also manages the segmentation of time that is
needed when simulating a parallel process on a serial
machine. This means that a neuron that receives sufficient
activation to cause it to fire doesn't fire immediately.
It waits for the coordinator to tell it that all expected
parts of the net activation has been received. This is
needed in almost every net architecture, but especially
in feed-forward nets, that feature layers that become
active one after the other.Coordinator
might be
able to do this for other net architectures, I haven't
given it much thought, yet. But it is designed for
feed-forward nets.
Field Summary | |
PatternGiver |
|
Neuron[][] |
|
PatternReader |
|
Constructor Summary | |
| |
| |
| |
| |
| |
|
Method Summary | |
void |
|
void |
|
void |
|
public Coordinator(NeuralNet net, String fileNameInputPattern) throws IOException, PatternCreateException
- Parameters:
net
-fileNameInputPattern
-
- Throws:
PatternCreateException
-
public Coordinator(NeuralNet net, PatternGiver giver, PatternReader reader)
- Parameters:
net
-giver
-reader
-
public Coordinator(Neuron layers, String fileNameInputPattern) throws IOException, PatternCreateException
- Parameters:
layers
-fileNameInputPattern
-
- Throws:
PatternCreateException
-
public Coordinator(Neuron layers, Pattern inputPattern)
- Parameters:
layers
-inputPattern
-
public Coordinator(Neuron layers, PatternGiver giver, PatternReader reader)
- Parameters:
layers
-giver
-reader
-
public void clearAll()
Clears all residual activation and memory functions of the neurons in the coordinated net by calling thede.webdings.neuralnet.Neuron.clear()
-method of thede.webdings.neuralnet.Neuron
s contained in the net.
public void savePattern(String filename) throws IOException
Saves the produced output pattern to a file of the specified filename.
- Parameters:
filename
-
public void start() throws PatternGiverReaderCommunicationException
Starts presenting the net with the input pattern
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.