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

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

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]

pub 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.

pub 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.

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