Struct linfa::composing::MultiClassModel
source · [−]pub struct MultiClassModel<R: Records, L> { /* private fields */ }
Expand description
Merge models with binary to multi-class classification
Implementations
sourceimpl<R: Records, L> MultiClassModel<R, L>
impl<R: Records, L> MultiClassModel<R, L>
Trait Implementations
sourceimpl<F, D: Data<Elem = F>, L, P: PredictInplace<ArrayBase<D, Ix2>, Array1<Pr>> + 'static> FromIterator<(L, P)> for MultiClassModel<ArrayBase<D, Ix2>, L>
impl<F, D: Data<Elem = F>, L, P: PredictInplace<ArrayBase<D, Ix2>, Array1<Pr>> + 'static> FromIterator<(L, P)> for MultiClassModel<ArrayBase<D, Ix2>, L>
sourceimpl<L: Clone + Default, F, D: Data<Elem = F>> PredictInplace<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<L>, Dim<[usize; 1]>>> for MultiClassModel<ArrayBase<D, Ix2>, L>
impl<L: Clone + Default, F, D: Data<Elem = F>> PredictInplace<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<L>, Dim<[usize; 1]>>> for MultiClassModel<ArrayBase<D, Ix2>, L>
sourcefn predict_inplace(&self, arr: &ArrayBase<D, Ix2>, y: &mut Array1<L>)
fn predict_inplace(&self, arr: &ArrayBase<D, Ix2>, y: &mut Array1<L>)
Predict something in place
sourcefn default_target(&self, x: &ArrayBase<D, Ix2>) -> Array1<L>
fn default_target(&self, x: &ArrayBase<D, Ix2>) -> Array1<L>
Create targets that predict_inplace
works with.
Auto Trait Implementations
impl<R, L> !RefUnwindSafe for MultiClassModel<R, L>
impl<R, L> !Send for MultiClassModel<R, L>
impl<R, L> !Sync for MultiClassModel<R, L>
impl<R, L> Unpin for MultiClassModel<R, L> where
L: Unpin,
impl<R, L> !UnwindSafe for MultiClassModel<R, L>
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