public interface ActivationFunction
MultilayerPerceptron.| Modifier and Type | Method and Description |
|---|---|
double |
apply(double input)
Applies the activation function on the given element.
|
de.jungblut.math.DoubleMatrix |
apply(de.jungblut.math.DoubleMatrix matrix)
Applies the gradient of the activation function on each element in the
given matrix.
|
de.jungblut.math.DoubleVector |
apply(de.jungblut.math.DoubleVector vector)
Applies the activation function on each element in the given vector.
|
double |
gradient(double input)
Applies the gradient of the activation function on the given element.
|
de.jungblut.math.DoubleMatrix |
gradient(de.jungblut.math.DoubleMatrix matrix)
Applies the gradient of the activation function on each element in the
given matrix.
|
de.jungblut.math.DoubleVector |
gradient(de.jungblut.math.DoubleVector vector)
Applies the gradient of the activation function on each element in the
given vector.
|
double apply(double input)
de.jungblut.math.DoubleVector apply(de.jungblut.math.DoubleVector vector)
vector - the vector to apply this function on.de.jungblut.math.DoubleMatrix apply(de.jungblut.math.DoubleMatrix matrix)
matrix - the matrix to apply this function on.double gradient(double input)
de.jungblut.math.DoubleVector gradient(de.jungblut.math.DoubleVector vector)
vector - the vector to apply this function on.de.jungblut.math.DoubleMatrix gradient(de.jungblut.math.DoubleMatrix matrix)
matrix - the matrix to apply this function on.Copyright © 2016. All rights reserved.