|
||||||||||
| 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.XLSInputSynapse
public class XLSInputSynapse
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.
| 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 | |
|---|---|
XLSInputSynapse()
The default constructor for this XLSInputSynapse. |
|
| Method Summary | |
|---|---|
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. |
| 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 XLSInputSynapse()
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||