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