|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.persist.BasicPersistedSubObject
org.encog.neural.networks.synapse.BasicSynapse
org.encog.neural.networks.synapse.DirectSynapse
public class DirectSynapse
A direct synapse will present the entire input array to each of the directly connected neurons in the next layer. This layer type is useful when building a radial basis neural network. This synapse type is not teachable.
| Constructor Summary | |
|---|---|
DirectSynapse()
Simple default constructor. |
|
DirectSynapse(Layer fromLayer,
Layer toLayer)
Construct a direct synapse between the two specified layers. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
NeuralData |
compute(NeuralData input)
Compute the output from this synapse. |
Persistor |
createPersistor()
Create a persistor for this type of synapse. |
Matrix |
getMatrix()
Get the weight matrix. |
int |
getMatrixSize()
Get the size of the matrix, or zero if one is not defined. |
SynapseType |
getType()
|
boolean |
isTeachable()
|
void |
setMatrix(Matrix matrix)
Attempt to set the matrix for this layer. |
| Methods inherited from class org.encog.neural.networks.synapse.BasicSynapse |
|---|
getFromLayer, getFromNeuronCount, getToLayer, getToNeuronCount, isSelfConnected, setFromLayer, setName, setToLayer, toString |
| Methods inherited from class org.encog.persist.BasicPersistedSubObject |
|---|
getCollection, getDescription, getName, setCollection, setDescription |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.encog.persist.EncogPersistedObject |
|---|
getCollection, getDescription, getName, setCollection, setDescription |
| Constructor Detail |
|---|
public DirectSynapse()
public DirectSynapse(Layer fromLayer,
Layer toLayer)
fromLayer - The starting layer.toLayer - The ending layer.| Method Detail |
|---|
public Object clone()
clone in interface Synapseclone in class BasicSynapsepublic NeuralData compute(NeuralData input)
input - The input to this synapse.
public Persistor createPersistor()
public Matrix getMatrix()
Synapse
public int getMatrixSize()
Synapse
public SynapseType getType()
public boolean isTeachable()
public void setMatrix(Matrix matrix)
matrix - Not used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||