pub enum BucketStrategy {
EqualWidth,
EqualDepth,
Hybrid,
}Expand description
Strategy for dividing data into histogram buckets
Variants§
EqualWidth
Equal-width buckets: each bucket covers same value range Good for uniformly distributed data
EqualDepth
Equal-depth buckets: each bucket contains same number of rows Good for skewed data
Hybrid
Hybrid: mix of equal-width and equal-depth Balances accuracy for both uniform and skewed data
Trait Implementations§
Source§impl Clone for BucketStrategy
impl Clone for BucketStrategy
Source§fn clone(&self) -> BucketStrategy
fn clone(&self) -> BucketStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BucketStrategy
impl Debug for BucketStrategy
Source§impl PartialEq for BucketStrategy
impl PartialEq for BucketStrategy
impl StructuralPartialEq for BucketStrategy
Auto Trait Implementations§
impl Freeze for BucketStrategy
impl RefUnwindSafe for BucketStrategy
impl Send for BucketStrategy
impl Sync for BucketStrategy
impl Unpin for BucketStrategy
impl UnwindSafe for BucketStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more