public class BackPropMLPTest
extends java.lang.Object
Constructor and Description |
---|
BackPropMLPTest() |
Modifier and Type | Method and Description |
---|---|
static float[] |
asFloat(org.nd4j.linalg.api.ndarray.INDArray arr) |
static float |
derivOfSigmoid(float in) |
static float[] |
derivOfSigmoid(float[] in) |
static org.nd4j.linalg.api.ndarray.INDArray |
doSigmoid(org.nd4j.linalg.api.ndarray.INDArray input) |
static org.nd4j.linalg.api.ndarray.INDArray |
doSigmoidDerivative(org.nd4j.linalg.api.ndarray.INDArray input) |
static org.nd4j.linalg.api.ndarray.INDArray |
doSoftmax(org.nd4j.linalg.api.ndarray.INDArray input) |
static org.nd4j.linalg.api.ndarray.INDArray |
doTanh(org.nd4j.linalg.api.ndarray.INDArray input) |
static org.nd4j.linalg.api.ndarray.INDArray |
doTanhDerivative(org.nd4j.linalg.api.ndarray.INDArray input) |
static float |
dotProduct(float[] x,
float[] y) |
static float |
sigmoid(float in) |
static float[] |
sigmoid(float[] in) |
static float[] |
softmax(float[] in) |
void |
testMLP() |
void |
testMLP2() |
void |
testMLPGradientCalculation() |
void |
testMLPTrivial() |
void |
testSingleExampleWeightUpdates() |
static float[] |
vectorDifference(float[] x,
float[] y) |
public void testMLPTrivial()
public void testMLP()
public void testMLP2()
public void testSingleExampleWeightUpdates()
public void testMLPGradientCalculation()
public static float[] asFloat(org.nd4j.linalg.api.ndarray.INDArray arr)
public static float dotProduct(float[] x, float[] y)
public static float sigmoid(float in)
public static float[] sigmoid(float[] in)
public static float derivOfSigmoid(float in)
public static float[] derivOfSigmoid(float[] in)
public static float[] softmax(float[] in)
public static float[] vectorDifference(float[] x, float[] y)
public static org.nd4j.linalg.api.ndarray.INDArray doTanh(org.nd4j.linalg.api.ndarray.INDArray input)
public static org.nd4j.linalg.api.ndarray.INDArray doTanhDerivative(org.nd4j.linalg.api.ndarray.INDArray input)
public static org.nd4j.linalg.api.ndarray.INDArray doSoftmax(org.nd4j.linalg.api.ndarray.INDArray input)
public static org.nd4j.linalg.api.ndarray.INDArray doSigmoid(org.nd4j.linalg.api.ndarray.INDArray input)
public static org.nd4j.linalg.api.ndarray.INDArray doSigmoidDerivative(org.nd4j.linalg.api.ndarray.INDArray input)