[][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(mut self: Self, new_eps: F) -> Self[src]

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

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

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

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

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

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

pub fn nu_eps(mut self: 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]>>>, &'_ ArrayBase<OwnedRepr<F>, Dim<[usize; 1]>>> 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]>>>, &'_ ArrayBase<OwnedRepr<bool>, Dim<[usize; 1]>>> 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]>>>, ArrayBase<ViewRepr<&'a F>, Dim<[usize; 1]>>> 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]>>>, ArrayBase<ViewRepr<&'a bool>, Dim<[usize; 1]>>> 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
[src]

impl<F, T> Send for SvmParams<F, T> where
    T: Send
[src]

impl<F, T> Sync for SvmParams<F, T> where
    T: Sync
[src]

impl<F, T> Unpin for SvmParams<F, T> where
    F: Unpin,
    T: Unpin
[src]

impl<F, T> UnwindSafe for SvmParams<F, T> where
    F: UnwindSafe,
    T: UnwindSafe
[src]

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