Module ndarray_glm::link

source ·
Expand description

Defines traits for link functions

Traits

The canonical transformation by definition equates the linear predictor with the natural parameter of the response distribution. Implementing this trait for a link function automatically defines the trivial transformation functions.
Describes the functions to map to and from the linear predictors and the expectation of the response. It is constrained mathematically by the response distribution and the transformation of the linear predictor.