Struct rusty_machine::learning::glm::Logit [] [src]

pub struct Logit;

The Logit link function.

Used primarily as the canonical link in Binomial Regression.

Trait Implementations

impl Clone for Logit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Logit
[src]

impl Debug for Logit
[src]

Formats the value using the given formatter.

impl LinkFunc for Logit
[src]

The Logit link function.

g(u) = ln(x / (1 - x))

The link function.

The gradient of the link function.

The inverse of the link function. Often called the 'mean' function. Read more