pub struct AggregatedPredictionBlock {
pub prediction_id: Option<String>,
pub producer_node: NodeId,
pub partition: PredictionPartition,
pub fold_id: Option<FoldId>,
pub level: PredictionLevel,
pub unit_ids: Vec<PredictionUnitId>,
pub values: Vec<Vec<f64>>,
pub target_names: Vec<String>,
}Fields§
§prediction_id: Option<String>§producer_node: NodeId§partition: PredictionPartition§fold_id: Option<FoldId>§level: PredictionLevel§unit_ids: Vec<PredictionUnitId>§values: Vec<Vec<f64>>§target_names: Vec<String>Implementations§
Source§impl AggregatedPredictionBlock
impl AggregatedPredictionBlock
pub fn validate_shape(&self) -> Result<usize, DagMlError>
Trait Implementations§
Source§impl Clone for AggregatedPredictionBlock
impl Clone for AggregatedPredictionBlock
Source§fn clone(&self) -> AggregatedPredictionBlock
fn clone(&self) -> AggregatedPredictionBlock
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 moreSource§impl Debug for AggregatedPredictionBlock
impl Debug for AggregatedPredictionBlock
Source§impl<'de> Deserialize<'de> for AggregatedPredictionBlock
impl<'de> Deserialize<'de> for AggregatedPredictionBlock
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregatedPredictionBlock, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregatedPredictionBlock, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AggregatedPredictionBlock
impl PartialEq for AggregatedPredictionBlock
Source§fn eq(&self, other: &AggregatedPredictionBlock) -> bool
fn eq(&self, other: &AggregatedPredictionBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AggregatedPredictionBlock
impl Serialize for AggregatedPredictionBlock
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AggregatedPredictionBlock
Auto Trait Implementations§
impl Freeze for AggregatedPredictionBlock
impl RefUnwindSafe for AggregatedPredictionBlock
impl Send for AggregatedPredictionBlock
impl Sync for AggregatedPredictionBlock
impl Unpin for AggregatedPredictionBlock
impl UnsafeUnpin for AggregatedPredictionBlock
impl UnwindSafe for AggregatedPredictionBlock
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