|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.system.AbstractImplicitModule
clarion.system.AbstractTrainableImplicitModule
public abstract class AbstractTrainableImplicitModule
This class implements a trainable implicit module within CLARION. It extends the AbstractImplicitModule class and implements the InterfaceTrainable interface. This class is abstract and therefore cannot be instantiated on its own.
Usage:
The trainable implicit module is a framework for building an implicit module that can be used in the bottom level of the CLARION subsystems. A trainable implicit module is different from some other implicit modules in that it can be trained. Any implicit modules that extend this class has the capability of being trained.
Note: Implicit modules that extend this class are NOT necessarily trainable during runtime. This class only allows for a implicit module to be pre-trained prior to being attached to a CLARION subsystem. If you want to implement an implicit module that is trainable during runtime from within CLARION, extend the AbstractRuntimeTrainableImpicitModule instead.
Known Subclasses:
Field Summary | |
---|---|
protected AbstractOutputChunkCollection<? extends AbstractOutputChunk> |
DesiredOutput
The desired output. |
Fields inherited from class clarion.system.AbstractImplicitModule |
---|
ACTUATION_TIME, ChosenOutput, DECISION_TIME, GLOBAL_ACTUATION_TIME, GLOBAL_DECISION_TIME, GLOBAL_PERCEPTION_TIME, InputAsCollection, Output, PERCEPTION_TIME |
Constructor Summary | |
---|---|
AbstractTrainableImplicitModule(java.util.Collection<Dimension> InputSpace,
AbstractOutputChunkCollection<? extends AbstractOutputChunk> Outputs)
Initializes the trainable implicit module. |
Method Summary | |
---|---|
abstract void |
backwardPass()
Performs a backward pass from the output to the input of the implicit module, "learning" (as defined by the user) based on the desired output. |
double |
getSumSqErrors()
Gets the sum of squared errors. |
void |
setDesiredOutput(AbstractOutputChunk DesiredOut)
Sets the desired output for the network given the specified desired output. |
void |
setDesiredOutput(java.util.Collection<? extends AbstractOutputChunk> DesiredOut)
Sets the desired output given the collection of desired outputs. |
Methods inherited from class clarion.system.AbstractImplicitModule |
---|
forwardPass, getChosenOutput, getInput, getNumInput, getNumOutput, getOutput, getOutput, getResponseTime, setChosenOutput, setInput, setInput, setInput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AbstractOutputChunkCollection<? extends AbstractOutputChunk> DesiredOutput
Constructor Detail |
---|
public AbstractTrainableImplicitModule(java.util.Collection<Dimension> InputSpace, AbstractOutputChunkCollection<? extends AbstractOutputChunk> Outputs)
If this is being used as an implicit module in the ACS and you are using goals or specialized working memory chunks, remember that the input space must also contain all dimension-value pairs within those chunks that differ from the sensory information space.
InputSpace
- The input space for the implicit module.Outputs
- The outputs for the implicit module.Method Detail |
---|
public void setDesiredOutput(java.util.Collection<? extends AbstractOutputChunk> DesiredOut)
Note that you should reset the desired output before you call this method and this method should be called before the backwardPass method is called.
setDesiredOutput
in interface InterfaceTrainable
DesiredOut
- A collection of output chunks to set as the desired output.public void setDesiredOutput(AbstractOutputChunk DesiredOut)
Note that you should reset the desired output before you call this method and this method should be called before the backwardPass method is called.
setDesiredOutput
in interface InterfaceTrainable
DesiredOut
- The desired output to set.public abstract void backwardPass()
backwardPass
in interface InterfaceTrainable
public double getSumSqErrors()
getSumSqErrors
in interface InterfaceTrainable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |