public class Inverse extends java.lang.Object implements LinkFunction
g(x) = 1/x
GeneralizedLinearModel,
Serialized Form| Constructor and Description |
|---|
Inverse() |
| 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)
g'(x).
-1
g'(x) = ----
x2
derivative in interface LinkFunctionx -