pub fn n_active(&self) -> usize {
        apply_to_features!(self => da, {
            da.iter().filter(|v| v.abs() > 1e-7).count()
        }; sa, {
            sa.activations.len()
        })
    }
/// Return the number of _active_ features.
Return the number of _active_ features.
Return the number of _active_ features .
pub fn n_active(&self) -> usize {
        apply_to_features!(self => da, {
            da.iter().filter(|v| v.abs() > 1e-7).count()
        }; sa, {
            sa.activations.len()
        })
    }
pub fn n_active ( & self ) -> usize { apply_to_features ! ( self da { da iter ( ) filter ( v v abs ( ) 1e-7 ) count ( ) } sa { sa activations len ( ) } ) }
Return the number of _active_ features.
Return the number of _active_ features .
&self
&self