public class XLSInputSynapse extends StreamInputSynapse
cols, currentRow, EOF, InputVector, plugInListeners, tokens| Constructor and Description |
|---|
XLSInputSynapse()
The default constructor for this XLSInputSynapse.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.TreeSet |
check()
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.String |
getFileName()
Deprecated.
use getInputFile instead
|
java.io.File |
getInputFile() |
protected HSSFSheet |
getSheet(java.lang.String sheetName)
Gets the HSSF sheet from the XLS file using the specified sheet name.
|
java.lang.String |
getSheetName()
Gets the name of the sheet within the XLS file to extract data from for input to
the network.
|
protected void |
initInputStream()
Reads data from the XLS file into this synapse.
|
void |
setFileName(java.lang.String newFileName)
Deprecated.
use setInputFile instead
|
void |
setInputFile(java.io.File inputFile) |
void |
setSheetName(java.lang.String sheetName)
Sets the name of the sheet within the XLS file to extract input data from.
|
addPlugIn, addPlugInListener, backward, dataChanged, fireDataChanged, forward, fwdGet, fwdGet, getAdvancedColumnSelector, getAllPlugInListeners, getCurrentRow, getDecimalPoint, getFirstCol, getFirstRow, getInputPatterns, getInputVector, getLastCol, getLastRow, getMaxBufSize, getPlugIn, getStream, getTokens, gotoFirstLine, gotoLine, handleExceptionWithError, handleExceptionWithWarn, InspectableTitle, Inspections, isBuffered, isEOF, isStepCounter, numColumns, readAll, readObjectBase, removeAllPlugIns, removePlugInListener, reset, resetInput, restart, revPut, setAdvancedColumnSelector, setArrays, setBuffered, setColList, setDecimalPoint, setDimensions, setEOF, setFirstCol, setFirstRow, setInputPatterns, setLastCol, setLastRow, setMaxBufSize, setPlugin, setPlugIn, setStepCounter, setTokens, writeObjectBase, zeroPatternaddNoise, 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, warnLoggerpublic XLSInputSynapse()
public java.lang.String getFileName()
public void setFileName(java.lang.String newFileName)
newFileName - The XLS file name that should be used to obtain input data from.protected void initInputStream()
throws JooneRuntimeException
initInputStream in class StreamInputSynapseJooneRuntimeExceptionprotected HSSFSheet getSheet(java.lang.String sheetName)
public void setSheetName(java.lang.String sheetName)
sheetName - The name of the sheet within the XLS file to extract input data from.public java.lang.String[] getAvailableSheetList()
public java.lang.String getSheetName()
public java.util.TreeSet check()
check in interface NeuralElementcheck in class StreamInputSynapseSynapsepublic java.io.File getInputFile()
public void setInputFile(java.io.File inputFile)
Submit Feedback to pmarrone@users.sourceforge.net