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