|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.freeform.basic.BasicFreeformLayer
public class BasicFreeformLayer
Implements a basic freeform layer.
Constructor Summary | |
---|---|
BasicFreeformLayer()
|
Method Summary | |
---|---|
void |
add(FreeformNeuron basicFreeformNeuron)
Add a neuron to this layer. |
List<FreeformNeuron> |
getNeurons()
|
boolean |
hasBias()
|
void |
setActivation(int i,
double activation)
Set the activation for the specified index. |
int |
size()
|
int |
sizeNonBias()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicFreeformLayer()
Method Detail |
---|
public void add(FreeformNeuron basicFreeformNeuron)
add
in interface FreeformLayer
basicFreeformNeuron
- The neuron to add.public List<FreeformNeuron> getNeurons()
getNeurons
in interface FreeformLayer
public boolean hasBias()
hasBias
in interface FreeformLayer
public void setActivation(int i, double activation)
setActivation
in interface FreeformLayer
i
- The index.activation
- The data for that index.public int size()
size
in interface FreeformLayer
public int sizeNonBias()
sizeNonBias
in interface FreeformLayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |