public class OnlineBackpropOneHidden extends Object
Constructor and Description |
---|
OnlineBackpropOneHidden(int nInput,
int nHidden,
int nFinal) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
gov.sandia.cognition.math.matrix.Matrix |
predict(double[] x) |
void |
update(double[] x,
double[] y) |
public OnlineBackpropOneHidden(int nInput, int nHidden, int nFinal)
nInput
- the number of input valuesnHidden
- the number of hidden valuesnFinal
- the number of final valuespublic void update(double[] x, double[] y)
public gov.sandia.cognition.math.matrix.Matrix predict(double[] x)
public static void main(String[] args) throws InterruptedException
InterruptedException