pub struct OofAverageBlock {
pub predictions: AggregatedPredictionBlock,
pub y_true: RegressionTargetBlock,
}Expand description
The per-sample cross-fold OOF average of one producer, surfaced alongside its scalar report so the
host can show each OOF sample’s averaged prediction (nirs4all’s (validation, avg) row y_pred),
not only the pooled scalar. The block is keyed by producer_node / partition = Validation /
fold_id = "avg" — identical to the scalar RegressionMetricReport this pairs with — and the
y_true covers exactly the block’s samples (same id set), so the host pairs them by id. This is
REPORT-grade output: it carries no variant tag (the block has none; the variant is stamped on the
report downstream) and never feeds a training/feature path, so OOF/leakage invariants are
unaffected — it is purely the same averaged values the scalar was computed from, exposed per sample.
Fields§
§predictions: AggregatedPredictionBlock§y_true: RegressionTargetBlockTrait Implementations§
Source§impl Clone for OofAverageBlock
impl Clone for OofAverageBlock
Source§fn clone(&self) -> OofAverageBlock
fn clone(&self) -> OofAverageBlock
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OofAverageBlock
impl Debug for OofAverageBlock
Source§impl PartialEq for OofAverageBlock
impl PartialEq for OofAverageBlock
Source§fn eq(&self, other: &OofAverageBlock) -> bool
fn eq(&self, other: &OofAverageBlock) -> bool
self and other values to be equal, and is used by ==.