pub struct ObservationPredictionBlock {
pub prediction_id: Option<String>,
pub producer_node: NodeId,
pub producer_port: Option<String>,
pub partition: PredictionPartition,
pub fold_id: Option<FoldId>,
pub observation_ids: Vec<ObservationId>,
pub values: Vec<Vec<f64>>,
pub weights: Vec<f64>,
pub target_names: Vec<String>,
}Fields§
§prediction_id: Option<String>§producer_node: NodeId§producer_port: Option<String>§partition: PredictionPartition§fold_id: Option<FoldId>§observation_ids: Vec<ObservationId>§values: Vec<Vec<f64>>§weights: Vec<f64>§target_names: Vec<String>Implementations§
Source§impl ObservationPredictionBlock
impl ObservationPredictionBlock
pub fn validate_shape(&self) -> Result<usize>
Trait Implementations§
Source§impl Clone for ObservationPredictionBlock
impl Clone for ObservationPredictionBlock
Source§fn clone(&self) -> ObservationPredictionBlock
fn clone(&self) -> ObservationPredictionBlock
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 ObservationPredictionBlock
impl Debug for ObservationPredictionBlock
Source§impl<'de> Deserialize<'de> for ObservationPredictionBlock
impl<'de> Deserialize<'de> for ObservationPredictionBlock
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 StructuralPartialEq for ObservationPredictionBlock
Auto Trait Implementations§
impl Freeze for ObservationPredictionBlock
impl RefUnwindSafe for ObservationPredictionBlock
impl Send for ObservationPredictionBlock
impl Sync for ObservationPredictionBlock
impl Unpin for ObservationPredictionBlock
impl UnsafeUnpin for ObservationPredictionBlock
impl UnwindSafe for ObservationPredictionBlock
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