pub struct Model<M, F> where
    M: Glm,
    F: Float
{ pub data: Dataset<F>, pub use_intercept: bool, /* private fields */ }
Expand description

Holds the data and configuration settings for a regression.

Fields

data: Dataset<F>

The dataset

use_intercept: bool

Whether the intercept term is used (commonly true)

Implementations

Perform the regression and return a fit object holding the results.

Fit options builder interface

An experimental interface that would allow fit options to be set externally.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.