pub fn nsupport(&self) -> usize {
        self.alpha
            .iter()
            // around 1e-5 for f32 and 2e-14 for f64
            .filter(|x| x.abs() > F::cast(100.) * F::epsilon())
            .count()
    }
/// Returns the number of support vectors
///
/// This function returns the number of support vectors which have an influence on the decision
/// outcome greater than zero.
Returns the number of support vectors
This function returns the number of support vectors which have an influence on the decision
outcome greater than zero.
Returns the number of support vectors This function returns the number of support vectors which have an influence on the decision outcome greater than zero .
pub fn nsupport(&self) -> usize {
        self.alpha
            .iter()
            // around 1e-5 for f32 and 2e-14 for f64
            .filter(|x| x.abs() > F::cast(100.) * F::epsilon())
            .count()
    }
pub fn nsupport ( & self ) -> usize { self . alpha . iter ( ) // around 1e-5 for f32 and 2e-14 for f64 . filter ( | x | x . abs ( ) > F :: cast ( 100. ) * F :: epsilon ( ) ) . count ( ) }
Returns the number of support vectors
This function returns the number of support vectors which have an influence on the decision
outcome greater than zero.
Returns the number of support vectors This function returns the number of support vectors which have an influence on the decision outcome greater than zero .
&self
&self