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)
NetFunctionfunctionG in interface NetFunctionx - - inputpublic double functionGprime(double x)
NetFunctionfunctionGprime in interface NetFunctionx - - input