|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.engine.Synapse
org.joone.io.StreamInputSynapse
org.joone.io.FileInputSynapse
public class FileInputSynapse
Allows data to be presented to the network from a file. The file must contain semi-colon seperated values e.g '2;5;7;2.1'.
Field Summary |
---|
Fields inherited from class org.joone.io.StreamInputSynapse |
---|
cols, currentRow, EOF, InputVector, plugInListeners, tokens |
Fields inherited from class org.joone.engine.Synapse |
---|
array, b_pattern, bitems, bouts, count, enabled, fwdLock, inps, items, learnable, m_batch, m_pattern, myLearner, outs, revLock |
Constructor Summary | |
---|---|
FileInputSynapse()
|
Method Summary | |
---|---|
java.util.TreeSet |
check()
Returns a TreeSet of errors or problems regarding the setup of this synapse. |
java.lang.String |
getFileName()
Deprecated. use getInputFile instead |
java.io.File |
getInputFile()
|
protected void |
initInputStream()
|
void |
setFileName(java.lang.String newFileName)
Deprecated. use setInputFile instead |
void |
setInputFile(java.io.File inputFile)
|
Methods inherited from class org.joone.engine.Synapse |
---|
addNoise, canCountSteps, fwdPattern_consume, fwdPattern_produce, fwdPut, getCount, getFwdLock, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getRevLock, getSynapseNameSafely, getWeights, init, initLearner, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, readResolve, revGet, revPattern_consume, revPattern_produce, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setMonitor, setName, setOutputDimension, setOutputFull, setWeights, warnLogger, warnLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileInputSynapse()
Method Detail |
---|
public java.lang.String getFileName()
public void setFileName(java.lang.String newFileName)
newFileName
- The file name that this synapse should extract data from.protected void initInputStream() throws JooneRuntimeException
initInputStream
in class StreamInputSynapse
JooneRuntimeException
public java.util.TreeSet check()
check
in interface NeuralElement
check
in class StreamInputSynapse
Synapse
public java.io.File getInputFile()
public void setInputFile(java.io.File inputFile)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |