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

pub struct Log;

The log link function.

Used primarily as the canonical link in Poisson Regression.

Trait Implementations

impl Clone for Log
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Log
[src]

impl Debug for Log
[src]

Formats the value using the given formatter.

impl LinkFunc for Log
[src]

The log link function.

g(u) = ln(u)

The link function.

The gradient of the link function.

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