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 LinkFunc for Logit
[src]

The Logit link function.

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

fn func(x: f64) -> f64

The link function.

fn func_grad(x: f64) -> f64

The gradient of the link function.

fn func_inv(x: f64) -> f64

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