pub struct RegressionTargetRecord {
pub producer_node: NodeId,
pub variant_id: Option<VariantId>,
pub partition: PredictionPartition,
pub fold_id: Option<FoldId>,
pub block: RegressionTargetBlock,
}Expand description
A host-emitted y_true block tagged with the prediction it scores (producer/partition/fold), so
the runtime can aggregate ground truth across folds to score cross-fold ensembles natively.
Fields§
§producer_node: NodeId§variant_id: Option<VariantId>Variant that produced the scored block — lets the cross-fold OOF average be computed per-variant (for native SELECT) without tagging every PredictionBlock with a variant.
partition: PredictionPartition§fold_id: Option<FoldId>§block: RegressionTargetBlockTrait Implementations§
Source§impl Clone for RegressionTargetRecord
impl Clone for RegressionTargetRecord
Source§fn clone(&self) -> RegressionTargetRecord
fn clone(&self) -> RegressionTargetRecord
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 RegressionTargetRecord
impl Debug for RegressionTargetRecord
Source§impl PartialEq for RegressionTargetRecord
impl PartialEq for RegressionTargetRecord
Source§fn eq(&self, other: &RegressionTargetRecord) -> bool
fn eq(&self, other: &RegressionTargetRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegressionTargetRecord
Auto Trait Implementations§
impl Freeze for RegressionTargetRecord
impl RefUnwindSafe for RegressionTargetRecord
impl Send for RegressionTargetRecord
impl Sync for RegressionTargetRecord
impl Unpin for RegressionTargetRecord
impl UnsafeUnpin for RegressionTargetRecord
impl UnwindSafe for RegressionTargetRecord
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