public class LinkInverseSquared extends Object implements LinkFunction
g(x) = 1/x2
GeneralizedLinearModel| Constructor and Description |
|---|
LinkInverseSquared() |
| 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)
LinkFunctioninverse in interface LinkFunctionx - xpublic double derivative(double x)
LinkFunctionderivative in interface LinkFunctionx - xCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.