[−][src]Struct ndarray_glm::model::ModelBuilderData
Holds the data and all the specifications for the model and provides functions to adjust the settings.
Implementations
impl<'a, M, Y, F> ModelBuilderData<'a, M, Y, F> where
M: Glm,
Y: Response<M> + Copy,
F: Float,
[src]
M: Glm,
Y: Response<M> + Copy,
F: Float,
A builder to generate a Model object
pub fn linear_offset(self, linear_offset: Array1<F>) -> Self
[src]
Represents an offset added to the linear predictor for each data point. This can be used to control for fixed effects or in multi-level models.
pub fn no_constant(self) -> Self
[src]
Do not add a constant term to the design matrix
pub fn colinear_tol(self, tol: F) -> Self
[src]
Set the tolerance for the co-linearity check. The check can be effectively disabled by setting the tolerance to a negative value.
pub fn build(self) -> RegressionResult<Model<M, F>> where
M: Glm,
F: Float,
[src]
M: Glm,
F: Float,
Auto Trait Implementations
impl<'a, M, Y, F> RefUnwindSafe for ModelBuilderData<'a, M, Y, F> where
F: RefUnwindSafe,
M: RefUnwindSafe,
Y: RefUnwindSafe,
F: RefUnwindSafe,
M: RefUnwindSafe,
Y: RefUnwindSafe,
impl<'a, M, Y, F> Send for ModelBuilderData<'a, M, Y, F> where
F: Send + Sync,
M: Send,
Y: Sync,
F: Send + Sync,
M: Send,
Y: Sync,
impl<'a, M, Y, F> Sync for ModelBuilderData<'a, M, Y, F> where
F: Sync,
M: Sync,
Y: Sync,
F: Sync,
M: Sync,
Y: Sync,
impl<'a, M, Y, F> Unpin for ModelBuilderData<'a, M, Y, F> where
F: Unpin,
M: Unpin,
F: Unpin,
M: Unpin,
impl<'a, M, Y, F> UnwindSafe for ModelBuilderData<'a, M, Y, F> where
F: RefUnwindSafe + UnwindSafe,
M: UnwindSafe,
Y: RefUnwindSafe,
F: RefUnwindSafe + UnwindSafe,
M: UnwindSafe,
Y: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,