public abstract class AbstractLearner extends java.lang.Object implements Learner
Modifier and Type | Field and Description |
---|---|
protected Learnable |
learnable
The learnable, the object that is subjected to the learning process.
|
protected LearnableLayer |
learnableLayer
The layer (biases) that is subjected to the learning process.
|
protected LearnableSynapse |
learnableSynapse
The synapse (weights) that is subjected to the learning process.
|
protected Monitor |
monitor
The saved monitor object.
|
Constructor and Description |
---|
AbstractLearner()
Creates a new instance of AbstractLearner
|
Modifier and Type | Method and Description |
---|---|
LearnableLayer |
getLayer()
Gets the layer the learner is associated with.
|
Monitor |
getMonitor()
Gets the monitor object.
|
LearnableSynapse |
getSynapse()
Gets the synapse the learner is associated with.
|
void |
registerLearnable(Learnable aLearnable)
Learnable makes itself known to the Learner, also the type of Learnable is checked.
|
void |
setMonitor(Monitor mon)
Override this method to get the needed parameters from
the Monitor object passed as parameter
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requestBiasUpdate, requestWeightUpdate
protected Learnable learnable
protected LearnableLayer learnableLayer
protected LearnableSynapse learnableSynapse
protected Monitor monitor
public AbstractLearner()
public void registerLearnable(Learnable aLearnable)
registerLearnable
in interface Learner
public void setMonitor(Monitor mon)
setMonitor
in interface Learner
public Monitor getMonitor()
public LearnableLayer getLayer()
public LearnableSynapse getSynapse()
Submit Feedback to pmarrone@users.sourceforge.net