|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.htwdd.rosenkoenig.neuro.net.Sigmoid
public class Sigmoid
A sigmoid activation function.
| Field Summary | |
|---|---|
private static Sigmoid |
instance
Create a new instance of the class to return to all that call the function getInstance. |
| Constructor Summary | |
|---|---|
private |
Sigmoid()
Default ctor |
| Method Summary | |
|---|---|
double |
compute(double value)
|
double |
computeDerivation(double value)
|
static Sigmoid |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Sigmoid instance
| Constructor Detail |
|---|
private Sigmoid()
| Method Detail |
|---|
public double compute(double value)
compute in interface ActivationFunctionvalue - value to compute something from.
public double computeDerivation(double value)
computeDerivation in interface ActivationFunctionvalue - value to compute something from.
public static Sigmoid getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||