|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joone.engine.learning.TeachingSynapse
public class TeachingSynapse
| Field Summary | |
|---|---|
protected AbstractTeacherSynapse |
theTeacherSynapse
|
| Constructor Summary | |
|---|---|
TeachingSynapse()
|
|
TeachingSynapse(TeacherSynapse aTeacher)
Creates a TeachingSynapse |
|
| Method Summary | |
|---|---|
boolean |
addResultSynapse(OutputPatternListener listener)
Adds an output synapse to which the result must be sent |
protected void |
backward(double[] pattern)
Not used Training phase. |
java.util.TreeSet |
check()
Validation checks for invalid parameter values, misconfiguration, etc. |
protected void |
forward(double[] pattern)
Recall phase Not used |
void |
fwdPut(Pattern pattern)
Method to put a pattern forward to the next layer |
StreamInputSynapse |
getDesired()
Insert the method's description here. |
int |
getInputDimension()
getInputDimension method comment. |
Monitor |
getMonitor()
Insert the method's description here. |
java.lang.String |
getName()
Returns the name of the output synapse |
LinearLayer |
getTheLinearLayer()
Returns the internal Layer used to transport the result to the connected output synapse |
AbstractTeacherSynapse |
getTheTeacherSynapse()
|
void |
init()
|
boolean |
isEnabled()
Getter for property enabled. |
boolean |
isOutputFull()
Getter for property outputFull. |
void |
removeResultSynapse(OutputPatternListener listener)
Removes an output synapse |
void |
reset()
Less intense than resetInput |
void |
resetInput()
Resets the internal buffer of the desired StreamInputSynapse |
Pattern |
revGet()
Returns the error pattern coming from the next layer during the training phase |
protected void |
setArrays(int rows,
int cols)
Not used Insert the method's description here. |
boolean |
setDesired(StreamInputSynapse fn)
Setter for the desired data set |
protected void |
setDimensions(int rows,
int cols)
Not used |
void |
setEnabled(boolean enabled)
Setter for property enabled. |
void |
setInputDimension(int newInputDimension)
setInputDimension method. |
void |
setMonitor(Monitor newMonitor)
Inserire qui la descrizione del metodo. |
void |
setName(java.lang.String newName)
Sets the name of the output synapse |
void |
setOutputFull(boolean outputFull)
Setter for property outputFull. |
void |
setTheLinearLayer(LinearLayer newTheLinearLayer)
Needed for Save as XML |
void |
setTheTeacherSynapse(TeacherSynapse newTheTeacherSynapse)
Needed for Save as XML |
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AbstractTeacherSynapse theTeacherSynapse
| Constructor Detail |
|---|
public TeachingSynapse()
public TeachingSynapse(TeacherSynapse aTeacher)
aTeacher - the teacher to use. The default constructor
(TeachingSynapse()) uses a normal TeacherSynapse.| Method Detail |
|---|
public void fwdPut(Pattern pattern)
OutputPatternListener
fwdPut in interface OutputPatternListenerpattern - neural.engine.Patternpublic StreamInputSynapse getDesired()
getDesired in interface ComparingElementpublic int getInputDimension()
getInputDimension in interface OutputPatternListenerpublic Monitor getMonitor()
getMonitor in interface NeuralElementpublic LinearLayer getTheLinearLayer()
ComparingElement
getTheLinearLayer in interface ComparingElementpublic AbstractTeacherSynapse getTheTeacherSynapse()
public Pattern revGet()
OutputPatternListener
revGet in interface OutputPatternListenerpublic boolean setDesired(StreamInputSynapse fn)
ComparingElement
setDesired in interface ComparingElementpublic boolean addResultSynapse(OutputPatternListener listener)
ComparingElement
addResultSynapse in interface ComparingElementpublic void removeResultSynapse(OutputPatternListener listener)
ComparingElement
removeResultSynapse in interface ComparingElementpublic void setInputDimension(int newInputDimension)
setInputDimension in interface OutputPatternListenerpublic void setMonitor(Monitor newMonitor)
setMonitor in interface NeuralElementnewMonitor - neural.engine.Monitorpublic void stop()
public java.lang.String getName()
NeuralElement
getName in interface NeuralElementpublic void setName(java.lang.String newName)
NeuralElement
setName in interface NeuralElementnewName - Stringprotected void forward(double[] pattern)
pattern - double[] - pattern di input sul quale applicare la funzione di trasferimento
protected void setArrays(int rows,
int cols)
protected void setDimensions(int rows,
int cols)
int - rows - righeint - cols - colonneprotected void backward(double[] pattern)
pattern - double[] - input patternpublic void setTheTeacherSynapse(TeacherSynapse newTheTeacherSynapse)
public void setTheLinearLayer(LinearLayer newTheLinearLayer)
public void resetInput()
ComparingElement
resetInput in interface ComparingElementpublic void reset()
reset in interface ComparingElementpublic java.util.TreeSet check()
NeuralElement
check in interface NeuralElementpublic boolean isEnabled()
isEnabled in interface NeuralElementpublic void setEnabled(boolean enabled)
setEnabled in interface NeuralElementenabled - New value of property enabled.public boolean isOutputFull()
isOutputFull in interface OutputPatternListenerpublic void setOutputFull(boolean outputFull)
setOutputFull in interface OutputPatternListeneroutputFull - New value of property outputFull.public void init()
init in interface NeuralElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||