Module models

Source
Available on crate feature regression only.
Expand description

The models (functions) we can use regression to optimize for.

You can naturally implement these yourself.

Re-exports§

pub use trig::*;

Modules§

trig
Traits and coefficients of trigonometric functions.

Structs§

ExponentialCoefficients
The coefficients of a exponential function (kb^x).
LinearCoefficients
The coefficients of a line.
LogisticCoefficients
The coefficients of a logistic function.
PolynomialCoefficients
The length of the inner vector is degree + 1.
PowerCoefficients
The coefficients of a power (also called growth) function (kx^e).

Traits§

ExponentialEstimator
Implemented by all estimators yielding an exponential regression.
LinearEstimator
Implemented by all estimators yielding a linear 2 variable regression (a line).
LogisticEstimator
Implemented by all estimators yielding an logistic regression.
PolynomialEstimator
Implemented by all estimators yielding a polynomial regression.
PowerEstimator
Implemented by all estimators yielding a power regression.