pub struct MultiFittedLogisticRegression<F: Float, C: PartialOrd + Clone> { /* private fields */ }
Expand description
A fitted multinomial logistic regression which can make predictions
Implementations
sourceimpl<F: Float, C: PartialOrd + Clone> MultiFittedLogisticRegression<F, C>
impl<F: Float, C: PartialOrd + Clone> MultiFittedLogisticRegression<F, C>
Trait Implementations
sourceimpl<F: Debug + Float, C: Debug + PartialOrd + Clone> Debug for MultiFittedLogisticRegression<F, C>
impl<F: Debug + Float, C: Debug + PartialOrd + Clone> Debug for MultiFittedLogisticRegression<F, C>
sourceimpl<F: PartialEq + Float, C: PartialEq + PartialOrd + Clone> PartialEq<MultiFittedLogisticRegression<F, C>> for MultiFittedLogisticRegression<F, C>
impl<F: PartialEq + Float, C: PartialEq + PartialOrd + Clone> PartialEq<MultiFittedLogisticRegression<F, C>> for MultiFittedLogisticRegression<F, C>
sourcefn eq(&self, other: &MultiFittedLogisticRegression<F, C>) -> bool
fn eq(&self, other: &MultiFittedLogisticRegression<F, C>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MultiFittedLogisticRegression<F, C>) -> bool
fn ne(&self, other: &MultiFittedLogisticRegression<F, C>) -> bool
This method tests for !=
.
sourceimpl<C: PartialOrd + Clone + Default, F: Float, D: Data<Elem = F>> PredictInplace<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<C>, Dim<[usize; 1]>>> for MultiFittedLogisticRegression<F, C>
impl<C: PartialOrd + Clone + Default, F: Float, D: Data<Elem = F>> PredictInplace<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<C>, Dim<[usize; 1]>>> for MultiFittedLogisticRegression<F, C>
sourcefn predict_inplace(&self, x: &ArrayBase<D, Ix2>, y: &mut Array1<C>)
fn predict_inplace(&self, x: &ArrayBase<D, Ix2>, y: &mut Array1<C>)
Given a feature matrix, predict the classes learned when the model was fitted.
sourcefn default_target(&self, x: &ArrayBase<D, Ix2>) -> Array1<C>
fn default_target(&self, x: &ArrayBase<D, Ix2>) -> Array1<C>
Create targets that predict_inplace
works with.
impl<F: Float, C: PartialOrd + Clone> StructuralPartialEq for MultiFittedLogisticRegression<F, C>
Auto Trait Implementations
impl<F, C> RefUnwindSafe for MultiFittedLogisticRegression<F, C> where
C: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, C> Send for MultiFittedLogisticRegression<F, C> where
C: Send,
impl<F, C> Sync for MultiFittedLogisticRegression<F, C> where
C: Sync,
impl<F, C> Unpin for MultiFittedLogisticRegression<F, C> where
C: Unpin,
impl<F, C> UnwindSafe for MultiFittedLogisticRegression<F, C> where
C: UnwindSafe,
F: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more