|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<SvLayer>
com.marmoush.jann.sv.bp.NNFeedForwardBPNet
public class NNFeedForwardBPNet
The Class NNFeedForwardBPNet.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
NNFeedForwardBPNet()
Instantiates a new nN feed forward bp net. |
|
NNFeedForwardBPNet(Collection<? extends SvLayer> c)
Instantiates a new nN feed forward bp net. |
|
NNFeedForwardBPNet(int initialCapacity)
Instantiates a new nN feed forward bp net. |
Method Summary | |
---|---|
protected void |
adapt()
Adapt. |
static DoubleMatrix |
backPropagate(DoubleMatrix weight,
DoubleMatrix error)
Back propagate. |
static NNFeedForwardBPNet |
create(int inputLength,
int... lyrsNumOfNeurons)
Creates the. |
static DoubleMatrix |
deltaRuleBp(DoubleMatrix inputTransposed,
DoubleMatrix error,
DoubleMatrix diffOutput,
double learnRate)
Delta rule bp. |
protected void |
netBackpropagate(DoubleMatrix error)
Net backpropagate. |
DoubleMatrix |
sim(DoubleMatrix newInput)
Sim. |
void |
trainOnce(DoubleMatrix newInput,
DoubleMatrix target)
Train once. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public NNFeedForwardBPNet()
public NNFeedForwardBPNet(Collection<? extends SvLayer> c)
c
- the cpublic NNFeedForwardBPNet(int initialCapacity)
initialCapacity
- the initial capacityMethod Detail |
---|
public static DoubleMatrix backPropagate(DoubleMatrix weight, DoubleMatrix error)
weight
- the weighterror
- the error
public static NNFeedForwardBPNet create(int inputLength, int... lyrsNumOfNeurons)
inputLength
- the input lengthlyrsNumOfNeurons
- the lyrs num of neurons
public static DoubleMatrix deltaRuleBp(DoubleMatrix inputTransposed, DoubleMatrix error, DoubleMatrix diffOutput, double learnRate)
inputTransposed
- the input transposederror
- the errordiffOutput
- the diff outputlearnRate
- the learn rate
protected void adapt()
protected void netBackpropagate(DoubleMatrix error)
error
- the errorpublic DoubleMatrix sim(DoubleMatrix newInput)
newInput
- the new input
public void trainOnce(DoubleMatrix newInput, DoubleMatrix target)
newInput
- the new inputtarget
- the target
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |