org.joone.io
Class XLSInputSynapse
- java.lang.Object
-
- org.joone.engine.Synapse
-
- org.joone.io.StreamInputSynapse
-
- org.joone.io.XLSInputSynapse
-
- All Implemented Interfaces:
- java.io.Serializable, InputPatternListener, Learnable, LearnableSynapse, NeuralElement, OutputPatternListener, Inspectable, InputSynapse, PlugInListener
public class XLSInputSynapse extends StreamInputSynapse
This class allows data to be presented to the network from an Excel XLS formatted file. The XLS file name must be specified and a worksheet name is optional.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description XLSInputSynapse()The default constructor for this XLSInputSynapse.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description java.util.TreeSetcheck()Returns a TreeSet of problems or errors with the setup of this XLSInputSynapse object.java.lang.String[]getAvailableSheetList()Gets a list of available sheets from the XLS file.java.lang.StringgetFileName()Deprecated.use getInputFile insteadjava.io.FilegetInputFile()java.lang.StringgetSheetName()Gets the name of the sheet within the XLS file to extract data from for input to the network.voidsetFileName(java.lang.String newFileName)Deprecated.use setInputFile insteadvoidsetInputFile(java.io.File inputFile)voidsetSheetName(java.lang.String sheetName)Sets the name of the sheet within the XLS file to extract input data from.-
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
-
-
-
-
Constructor Detail
-
XLSInputSynapse
public XLSInputSynapse()
The default constructor for this XLSInputSynapse.
-
-
Method Detail
-
getFileName
public java.lang.String getFileName()
Deprecated. use getInputFile insteadGets the XLS file name used as input to the network.- Returns:
- The XLS input file name.
-
setFileName
public void setFileName(java.lang.String newFileName)
Deprecated. use setInputFile insteadSets the XLS file name that should be used to obtain input data from.- Parameters:
newFileName- The XLS file name that should be used to obtain input data from.
-
setSheetName
public void setSheetName(java.lang.String sheetName)
Sets the name of the sheet within the XLS file to extract input data from.- Parameters:
sheetName- The name of the sheet within the XLS file to extract input data from.
-
getAvailableSheetList
public java.lang.String[] getAvailableSheetList()
Gets a list of available sheets from the XLS file.- Returns:
- The list of available sheets from the XLS file or null if the file name has not been set.
-
getSheetName
public java.lang.String getSheetName()
Gets the name of the sheet within the XLS file to extract data from for input to the network.- Returns:
- The name of the sheet within the XLS file to extract data from for input to the network.
-
check
public java.util.TreeSet check()
Returns a TreeSet of problems or errors with the setup of this XLSInputSynapse object.- Specified by:
checkin interfaceNeuralElement- Overrides:
checkin classStreamInputSynapse- Returns:
- A TreeSet of problems or errors with the setup of this XLSInputSynapse object.
- See Also:
Synapse
-
getInputFile
public java.io.File getInputFile()
-
setInputFile
public void setInputFile(java.io.File inputFile)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG