public class LinearFunction extends Object implements NetFunction
Constructor and Description |
---|
LinearFunction() |
Modifier and Type | Method and Description |
---|---|
double |
functionG(double x)
get output for input of x
|
double |
functionGprime(double x)
get derivitive of function for input x
used for back propogation learning
|
public double functionG(double x)
NetFunction
functionG
in interface NetFunction
x
- - inputpublic double functionGprime(double x)
NetFunction
functionGprime
in interface NetFunction
x
- - input