pub struct ModelBuilder<M: Glm> { /* private fields */ }
Expand description
Provides an interface to create the full model option struct with convenient type inference.
Implementations§
Source§impl<M: Glm> ModelBuilder<M>
impl<M: Glm> ModelBuilder<M>
Sourcepub fn data<'a, Y, F, YD, XD>(
data_y: &'a ArrayBase<YD, Ix1>,
data_x: &'a ArrayBase<XD, Ix2>,
) -> ModelBuilderData<'a, M, Y, F>
pub fn data<'a, Y, F, YD, XD>( data_y: &'a ArrayBase<YD, Ix1>, data_x: &'a ArrayBase<XD, Ix2>, ) -> ModelBuilderData<'a, M, Y, F>
Borrow the Y and X data where each row in the arrays is a new observation, and create the full model builder with the data to allow for adjusting additional options.
Auto Trait Implementations§
impl<M> Freeze for ModelBuilder<M>
impl<M> RefUnwindSafe for ModelBuilder<M>where
M: RefUnwindSafe,
impl<M> Send for ModelBuilder<M>where
M: Send,
impl<M> Sync for ModelBuilder<M>where
M: Sync,
impl<M> Unpin for ModelBuilder<M>where
M: Unpin,
impl<M> UnwindSafe for ModelBuilder<M>where
M: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more