Struct rusty_machine::learning::toolkit::activ_fn::Exp [] [src]

pub struct Exp;

Exponential activation function.

Trait Implementations

impl Debug for Exp
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for Exp
[src]

impl Clone for Exp
[src]

fn clone(&self) -> Exp

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl ActivationFunc for Exp
[src]

fn func(x: f64) -> f64

The activation function.

fn func_grad(x: f64) -> f64

The gradient of the activation function.

fn func_inv(x: f64) -> f64

The inverse of the activation function.