org.joone.io
Class FileInputSynapse
- java.lang.Object
-
- org.joone.engine.Synapse
-
- org.joone.io.StreamInputSynapse
-
- org.joone.io.FileInputSynapse
-
- All Implemented Interfaces:
- java.io.Serializable, InputPatternListener, Learnable, LearnableSynapse, NeuralElement, OutputPatternListener, Inspectable, InputSynapse, PlugInListener
public class FileInputSynapse extends StreamInputSynapse
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'.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description FileInputSynapse()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description java.util.TreeSetcheck()Returns a TreeSet of errors or problems regarding the setup of this synapse.java.lang.StringgetFileName()Deprecated.use getInputFile insteadjava.io.FilegetInputFile()voidsetFileName(java.lang.String newFileName)Deprecated.use setInputFile insteadvoidsetInputFile(java.io.File inputFile)-
Methods inherited from class org.joone.io.StreamInputSynapse
addPlugIn, addPlugInListener, dataChanged, fwdGet, fwdGet, getAdvancedColumnSelector, getAllPlugInListeners, getCurrentRow, getDecimalPoint, getFirstCol, getFirstRow, getInputPatterns, getInputVector, getLastCol, getLastRow, getMaxBufSize, getPlugIn, getStream, gotoFirstLine, gotoLine, InspectableTitle, Inspections, isBuffered, isEOF, isStepCounter, numColumns, readAll, removeAllPlugIns, removePlugInListener, reset, resetInput, revPut, setAdvancedColumnSelector, setBuffered, setDecimalPoint, setFirstCol, setFirstRow, setInputPatterns, setLastCol, setLastRow, setMaxBufSize, setPlugin, setPlugIn, setStepCounter
-
Methods inherited from class org.joone.engine.Synapse
addNoise, canCountSteps, fwdPut, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getWeights, init, initLearner, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, revGet, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setMonitor, setName, setOutputDimension, setOutputFull, setWeights
-
-
-
-
Method Detail
-
getFileName
public java.lang.String getFileName()
Deprecated. use getInputFile insteadGets the file name that this synapse uses to extract the input data from.- Returns:
- The file name that this synapse uses to extract the input data from.
-
setFileName
public void setFileName(java.lang.String newFileName)
Deprecated. use setInputFile insteadSets the file name that this synapse should extract data from.- Parameters:
newFileName- The file name that this synapse should extract data from.
-
check
public java.util.TreeSet check()
Returns a TreeSet of errors or problems regarding the setup of this synapse.- Specified by:
checkin interfaceNeuralElement- Overrides:
checkin classStreamInputSynapse- Returns:
- A TreeSet of errors or problems regarding the setup of this synapse.
- See Also:
Synapse
-
getInputFile
public java.io.File getInputFile()
-
setInputFile
public void setInputFile(java.io.File inputFile)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG