com.github.chen0040.glm.links.LinkFunction Maven / Gradle / Ivy
package com.github.chen0040.glm.links;
/**
* Created by xschen on 14/8/15.
*/
///
/// A link function a = f(b) is a bijection chosen to map the constraint interval onto the real line.
///
/// The inverse link function b = g(a) maps the real line onto the constraint interval
///
public interface LinkFunction extends Cloneable
{
///
/// The link function f(b) map the constraint interval {b} onto the real line {a}
///
///
///
double GetLink(double constraint_interval_value);
///
/// The inverse link function g(a) Map the real line {a} onto the constraint interval {b}
///
///
///
double GetInvLink(double real_line_value);
///
/// Return the derivative of the inverse link function g'(x)
///
///
///
double GetInvLinkDerivative(double real_line_value);
LinkFunction makeCopy();
}