[][src]Struct linfa_svm::SvmParams

pub struct SvmParams<F: Float, T> { /* fields omitted */ }

Implementations

impl<F: Float, T> SvmParams<F, T>[src]

pub fn eps(self, new_eps: F) -> Self[src]

pub fn shrinking(self, shrinking: bool) -> Self[src]

impl<F: Float> SvmParams<F, Pr>[src]

pub fn pos_neg_weights(self, c_pos: F, c_neg: F) -> Self[src]

pub fn nu_weight(self, nu: F) -> Self[src]

impl<F: Float> SvmParams<F, F>[src]

pub fn c_eps(self, c: F, eps: F) -> Self[src]

pub fn nu_eps(self, nu: F, eps: F) -> Self[src]

Trait Implementations

impl<'a, F: Float, '_> Fit<'a, Kernel<ArrayBase<ViewRepr<&'a F>, Dim<[usize; 2]>>>, &'_ [bool]> for SvmParams<F, Pr>[src]

type Object = Svm<'a, F, Pr>

impl<'a, F: Float, '_> Fit<'a, Kernel<ArrayBase<ViewRepr<&'a F>, Dim<[usize; 2]>>>, &'_ ()> for SvmParams<F, Pr>[src]

type Object = Svm<'a, F, Pr>

impl<'a, F: Float, '_> Fit<'a, Kernel<ArrayBase<ViewRepr<&'a F>, Dim<[usize; 2]>>>, &'_ Vec<F, Global>> for SvmParams<F, F>[src]

type Object = Svm<'a, F, F>

impl<'a, F: Float, '_> Fit<'a, Kernel<ArrayBase<ViewRepr<&'a F>, Dim<[usize; 2]>>>, &'_ Vec<bool, Global>> for SvmParams<F, Pr>[src]

type Object = Svm<'a, F, Pr>

impl<'a, F: Float> Fit<'a, Kernel<ArrayBase<ViewRepr<&'a F>, Dim<[usize; 2]>>>, Vec<F, Global>> for SvmParams<F, F>[src]

type Object = Svm<'a, F, F>

impl<'a, F: Float> Fit<'a, Kernel<ArrayBase<ViewRepr<&'a F>, Dim<[usize; 2]>>>, Vec<bool, Global>> for SvmParams<F, Pr>[src]

type Object = Svm<'a, F, Pr>

Auto Trait Implementations

impl<F, T> RefUnwindSafe for SvmParams<F, T> where
    F: RefUnwindSafe,
    T: RefUnwindSafe

impl<F, T> Send for SvmParams<F, T> where
    T: Send

impl<F, T> Sync for SvmParams<F, T> where
    T: Sync

impl<F, T> Unpin for SvmParams<F, T> where
    F: Unpin,
    T: Unpin

impl<F, T> UnwindSafe for SvmParams<F, T> where
    F: UnwindSafe,
    T: UnwindSafe

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> Same<T> for T

type Output = T

Should always be Self

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>,