Struct ndarray_glm::model::ModelBuilder[][src]

pub struct ModelBuilder<M: Glm> { /* fields omitted */ }

Provides an interface to create the full model option struct with convenient type inference.

Implementations

impl<M: Glm> ModelBuilder<M>[src]

pub fn data<'a, Y, F>(
    data_y: ArrayView1<'a, Y>,
    data_x: ArrayView2<'a, F>
) -> ModelBuilderData<'a, M, Y, F> where
    Y: Response<M>,
    F: Float
[src]

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> RefUnwindSafe for ModelBuilder<M> where
    M: RefUnwindSafe
[src]

impl<M> Send for ModelBuilder<M> where
    M: Send
[src]

impl<M> Sync for ModelBuilder<M> where
    M: Sync
[src]

impl<M> Unpin for ModelBuilder<M> where
    M: Unpin
[src]

impl<M> UnwindSafe for ModelBuilder<M> where
    M: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,