public class hPESTermination extends PESTermination
myGain
myFilteredModInput, myModInput, myModTermName
myFilteredInput, myFilteredOutput, myInput, myLearning, myLearningRate, myOriginName, myOutput
Constructor and Description |
---|
hPESTermination(NEFEnsemble ensemble,
java.lang.String name,
PlasticNodeTermination[] nodeTerminations,
float[] initialTheta) |
Modifier and Type | Method and Description |
---|---|
hPESTermination |
clone(Node node)
Clone method that changes necessary parameters to point to a new parent,
for use in cloning ensembles, etc.
|
protected float[][] |
deltaOmega(int start,
int end) |
float |
getSupervisionRatio() |
void |
reset(boolean randomize) |
void |
setSupervisionRatio(float supervisionRatio) |
void |
updateTransform(float time,
int start,
int end) |
getOja, setLearningRate, setOja
getModTermName, setModTerminationState, setModTermName
getFilteredOutput, getInput, getLearning, getLearningRate, getOriginName, getOutputs, getTransform, modifyTransform, saveTransform, setLearning, setOriginName, setOriginState, setTerminationState, setTransform, updateFiltered, updateRaw
clone, getDimensions, getModulatory, getName, getNode, getNodeTerminations, getTau, setModulatory, setTau, setValues
public hPESTermination(NEFEnsemble ensemble, java.lang.String name, PlasticNodeTermination[] nodeTerminations, float[] initialTheta) throws StructuralException
ensemble
- The ensemble this termination belongs toname
- Name of this TerminationnodeTerminations
- Node-level Terminations that make up this Termination. Must be
all LinearExponentialTerminationsStructuralException
- If dimensions of different terminations are not all the samepublic void reset(boolean randomize)
reset
in interface Resettable
reset
in class ModulatedPlasticEnsembleTermination
randomize
- True indicates that the object should be reset to a
randomly selected initial state (the object must be aware of the
distribution from which to draw from). False indicates that the
object should be reset to a fixed initial state (which it must
also know). Some objects may not support randomization of the initial
state, in which case a fixed state will be used in either case.Resettable.reset(boolean)
public float getSupervisionRatio()
public void setSupervisionRatio(float supervisionRatio)
mySupervisionRatio
- How heavily weighted towards supervision;
between 0.0 (all unsupervised) and 1.0 (all supervised).public void updateTransform(float time, int start, int end) throws StructuralException
updateTransform
in class PESTermination
time
- Current timestart
- The start index of the range of transform values to update (for multithreading)end
- The end index of the range of transform values to update (for multithreading)StructuralException
- ifPlasticEnsembleTermination.updateTransform(float, int, int)
protected float[][] deltaOmega(int start, int end)
deltaOmega
in class PESTermination
public hPESTermination clone(Node node) throws java.lang.CloneNotSupportedException
Termination
clone
in interface Termination
clone
in class PESTermination
node
- New parent nodejava.lang.CloneNotSupportedException
- if clone cannot be made