pub struct Logit {}
Expand description

The canonical link function for logistic regression is the logit function g(p) = log(p/(1-p)).

Trait Implementations

Maps the expectation value of the response variable to the linear predictor. In general this is determined by a composition of the inverse natural parameter transformation and the canonical link function. Read more

Maps the linear predictor to the expectation value of the response.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

By defintion this function is the identity function for canonical links.

The canonical link function requires no transformation of the error and variance terms.

The derivative of the transformation to the natural parameter. If it is zero in a region that the IRLS is in the algorithm may have difficulty converging. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.