public class Identity extends java.lang.Object implements LinkFunction
g(x) = x
GeneralizedLinearModel,
Serialized Form| Constructor and Description |
|---|
Identity() |
| Modifier and Type | Method and Description |
|---|---|
double |
derivative(double x)
Derivative of the link function, i.e.,
g'(x). |
double |
inverse(double x)
Inverse of the link function, i.e.,
g-1(x). |
public double inverse(double x)
LinkFunctiong-1(x).inverse in interface LinkFunctionx - xg-1(x)public double derivative(double x)
LinkFunctiong'(x).derivative in interface LinkFunctionx - xg'(x)