pub enum AggregationReducerName {
Mean,
WeightedMean,
Median,
Vote,
RobustMean,
ExcludeOutliers,
Custom,
}Expand description
Canonical per-sample aggregation reducer name (ADR-07).
Variants§
Mean
Arithmetic mean of valid values.
WeightedMean
Mean weighted by a provider-supplied per-row weight column.
Median
Sample median.
Vote
Majority vote (classification only); refused on a regression task.
RobustMean
Trimmed mean: drop the top/bottom trim_fraction before averaging.
ExcludeOutliers
Drop rows outside a Hotelling T² confidence boundary at threshold, then mean.
Custom
Host-controller reducer addressed by a stable custom_reducer_id.
Implementations§
Trait Implementations§
Source§impl Clone for AggregationReducerName
impl Clone for AggregationReducerName
Source§fn clone(&self) -> AggregationReducerName
fn clone(&self) -> AggregationReducerName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AggregationReducerName
Source§impl Debug for AggregationReducerName
impl Debug for AggregationReducerName
Source§impl<'de> Deserialize<'de> for AggregationReducerName
impl<'de> Deserialize<'de> for AggregationReducerName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AggregationReducerName
Source§impl PartialEq for AggregationReducerName
impl PartialEq for AggregationReducerName
Source§fn eq(&self, other: &AggregationReducerName) -> bool
fn eq(&self, other: &AggregationReducerName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AggregationReducerName
impl Serialize for AggregationReducerName
impl StructuralPartialEq for AggregationReducerName
Auto Trait Implementations§
impl Freeze for AggregationReducerName
impl RefUnwindSafe for AggregationReducerName
impl Send for AggregationReducerName
impl Sync for AggregationReducerName
impl Unpin for AggregationReducerName
impl UnsafeUnpin for AggregationReducerName
impl UnwindSafe for AggregationReducerName
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