Module rusty_machine::learning::toolkit::activ_fn [] [src]

Activation Functions.

This module contains a number of structs implementing the ActivationFunc trait.

These structs are used within Neural Networks and Generalized Linear Regression (not yet implemented).

You can also create your own custom activation Functions for use in your models. Just create a unit struct implementing the ActivationFunc trait.

Structs

Exp

Exponential activation function.

Linear

Linear activation function.

Sigmoid

Sigmoid activation function.

Traits

ActivationFunc

Trait for activation functions in models.