|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.engine.RTRLLearnerFactory.InitialState
protected class RTRLLearnerFactory.InitialState
An initial state. An initial state is, in joone, associated with the initial values loaded into a context layer. For now, we simply utilise this initial state although we also could employ RTRL to optimise the initial state as part of the training process. We use the given values, typically 0, for the initial state. The initial state is set outside of the RTRL implementation and not even used here. A future version may also optimise this and then we'll use this class.
Field Summary | |
---|---|
protected int |
index
The index into the layer at which this initial state is found |
protected int |
k
The node in z into which this state will be fired |
protected ContextLayer |
layer
The context layer that this state is associated with |
Constructor Summary | |
---|---|
RTRLLearnerFactory.InitialState(ContextLayer layer,
int index,
int k)
Create a new initial state |
Method Summary | |
---|---|
void |
addInitialState(double delta)
Change the initial state by adding to it, also update the state's delta |
double |
getInitialState()
Get the initial state |
void |
setInitialState(double initialState)
Set the initial state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ContextLayer layer
protected int index
protected int k
Constructor Detail |
---|
public RTRLLearnerFactory.InitialState(ContextLayer layer, int index, int k)
layer
- the context layer from which the initial state firesindex
- the index into that layer from which it firesk
- the index of the node from which it firesMethod Detail |
---|
public void setInitialState(double initialState)
public double getInitialState()
public void addInitialState(double delta)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |