|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.interfaces.Neuron
org.simnet.neurons.SigmoidalNeuron
public class SigmoidalNeuron
SigmoidalNeuron.
| Field Summary | |
|---|---|
static int |
ARCTAN
Arctan. |
static int |
BARE
Tanh. |
static int |
SIGM
Standard Sigmoidal. |
static int |
TANH
Tanh. |
| Fields inherited from class org.simnet.interfaces.Neuron |
|---|
activation, fanIn, fanOut, lowerBound, upperBound |
| Constructor Summary | |
|---|---|
SigmoidalNeuron()
Default constructor needed for external calls which create neurons then set their parameters. |
|
SigmoidalNeuron(Neuron n)
This constructor is used when creating a neuron of one type from another neuron of another type Only values common to different types of neuron are copied. |
|
| Method Summary | |
|---|---|
Neuron |
duplicate()
|
boolean |
getAddNoise()
|
double |
getBias()
|
boolean |
getClipping()
|
static String[] |
getFunctionList()
|
int |
getImplementationIndex()
|
static String |
getName()
|
RandomSource |
getNoiseGenerator()
|
double |
getSlope()
|
int |
getTimeType()
|
void |
setAddNoise(boolean addNoise)
|
void |
setBias(double inflectionY)
|
void |
setClipping(boolean clipping)
|
void |
setImplementationIndex(int index)
|
void |
setNoiseGenerator(RandomSource noise)
|
void |
setSlope(double inflectionPointSlope)
|
void |
update()
Update neuron. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TANH
public static final int BARE
public static final int ARCTAN
public static final int SIGM
| Constructor Detail |
|---|
public SigmoidalNeuron()
public SigmoidalNeuron(Neuron n)
n - Neuron to be made of type.| Method Detail |
|---|
public int getTimeType()
getTimeType in class Neuronpublic void update()
update in class Neuronpublic Neuron duplicate()
duplicate in class Neuronpublic double getBias()
public void setBias(double inflectionY)
inflectionY - The inflectionY to set.public double getSlope()
public void setSlope(double inflectionPointSlope)
inflectionPointSlope - The inflectionPointSlope to set.public static String[] getFunctionList()
public void setImplementationIndex(int index)
index - The impementatinIndex to setpublic int getImplementationIndex()
public RandomSource getNoiseGenerator()
public void setNoiseGenerator(RandomSource noise)
noise - The noise to set.public boolean getAddNoise()
public void setAddNoise(boolean addNoise)
addNoise - The addNoise to set.public static String getName()
public boolean getClipping()
public void setClipping(boolean clipping)
clipping - The clipping to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||