[][src]Struct ndarray_glm::logistic_link::Logit

pub struct Logit {}

The canonical link function for logistic regression is the logit function g(p) = log(p/(1-p)).

Trait Implementations

impl Canonical for Logit[src]

impl Link<Logistic<Logit>> for Logit[src]

Auto Trait Implementations

impl RefUnwindSafe for Logit

impl Send for Logit

impl Sync for Logit

impl Unpin for Logit

impl UnwindSafe for Logit

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> Transform for T where
    T: Canonical
[src]

fn nat_param<F>(
    ArrayBase<OwnedRepr<F>, Dim<[usize; 1]>>
) -> ArrayBase<OwnedRepr<F>, Dim<[usize; 1]>> where
    F: Float
[src]

By defintion this function is the identity function for canonical links.

fn adjust_errors_variance<F>(
    ArrayBase<OwnedRepr<F>, Dim<[usize; 1]>>,
    ArrayBase<OwnedRepr<F>, Dim<[usize; 1]>>,
    &ArrayBase<OwnedRepr<F>, Dim<[usize; 1]>>
) -> (ArrayBase<OwnedRepr<F>, Dim<[usize; 1]>>, ArrayBase<OwnedRepr<F>, Dim<[usize; 1]>>) where
    F: Float
[src]

The canonical link function requires no transformation of the error and variance terms.

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.