Struct ndarray_stats::histogram::strategies::Auto
source · [−]pub struct Auto<T> { /* private fields */ }
Expand description
Maximum of the Sturges
and FreedmanDiaconis
strategies. Provides good all around
performance.
A compromise to get a good value. For small datasets the Sturges
value will usually be
chosen, while larger datasets will usually default to FreedmanDiaconis
. Avoids the overly
conservative behaviour of FreedmanDiaconis
and Sturges
for small and large datasets
respectively.
Notes
This strategy requires the data
- not being empty
- not being constant
- having positive
IQR
Implementations
Trait Implementations
sourceimpl<T> BinsBuildingStrategy for Auto<T> where
T: Ord + Clone + FromPrimitive + NumOps + Zero,
impl<T> BinsBuildingStrategy for Auto<T> where
T: Ord + Clone + FromPrimitive + NumOps + Zero,
Auto Trait Implementations
impl<T> RefUnwindSafe for Auto<T> where
T: RefUnwindSafe,
impl<T> Send for Auto<T> where
T: Send,
impl<T> Sync for Auto<T> where
T: Sync,
impl<T> Unpin for Auto<T> where
T: Unpin,
impl<T> UnwindSafe for Auto<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more