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

pub struct Identity;

The Identity link function.

Used primarily as the canonical link in Linear Regression.

Trait Implementations

impl Clone for Identity
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Identity
[src]

impl Debug for Identity
[src]

Formats the value using the given formatter.

impl LinkFunc for Identity
[src]

The Identity link function.

g(u) = u

The link function.

The gradient of the link function.

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