|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.classifier.mlp.NeuralNetworkFunctions
public class NeuralNetworkFunctions
The functions that will be used by NeuralNetwork.
Field Summary | |
---|---|
static DoubleDoubleFunction |
crossEntropy
The cross entropy function (f(t, o) = -t * log(o) - (1 - t) * log(1 - o)). |
static DoubleDoubleFunction |
derivativeCrossEntropy
The derivation of cross entropy function (f(t, o) = -t * log(o) - (1 - t) * log(1 - o)). |
static DoubleFunction |
derivativeIdentityFunction
The derivation of identity function (f(x) = x). |
static DoubleDoubleFunction |
derivativeMinusSquared
The derivation of minus squared function (f(t, o) = (o - t)^2). |
Constructor Summary | |
---|---|
NeuralNetworkFunctions()
|
Method Summary | |
---|---|
static DoubleDoubleFunction |
getDerivativeDoubleDoubleFunction(String function)
Get the corresponding derivation of double double function by the name. |
static DoubleFunction |
getDerivativeDoubleFunction(String function)
Get the derivation double function by the name. |
static DoubleDoubleFunction |
getDoubleDoubleFunction(String function)
Get the corresponding double-double function by the name. |
static DoubleFunction |
getDoubleFunction(String function)
Get the corresponding function by its name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static DoubleFunction derivativeIdentityFunction
public static DoubleDoubleFunction derivativeMinusSquared
public static DoubleDoubleFunction crossEntropy
public static DoubleDoubleFunction derivativeCrossEntropy
Constructor Detail |
---|
public NeuralNetworkFunctions()
Method Detail |
---|
public static DoubleFunction getDoubleFunction(String function)
function
- The name of the function.
public static DoubleFunction getDerivativeDoubleFunction(String function)
function
- The name of the function.
public static DoubleDoubleFunction getDoubleDoubleFunction(String function)
function
- The name of the function.
public static DoubleDoubleFunction getDerivativeDoubleDoubleFunction(String function)
function
- The name of the function.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |