Struct ndarray_glm::model::Model [−][src]
pub struct Model<M, F> where
M: Glm,
F: Float, {
pub data: Dataset<F>,
pub use_intercept: bool,
// some fields omitted
}
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.