pub struct RegressionTargetBlock {
pub level: PredictionLevel,
pub unit_ids: Vec<PredictionUnitId>,
pub values: Vec<Vec<f64>>,
pub target_names: Vec<String>,
}Fields§
§level: PredictionLevel§unit_ids: Vec<PredictionUnitId>§values: Vec<Vec<f64>>§target_names: Vec<String>Implementations§
Source§impl RegressionTargetBlock
impl RegressionTargetBlock
pub fn validate_shape(&self) -> Result<usize>
Trait Implementations§
Source§impl Clone for RegressionTargetBlock
impl Clone for RegressionTargetBlock
Source§fn clone(&self) -> RegressionTargetBlock
fn clone(&self) -> RegressionTargetBlock
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 RegressionTargetBlock
impl Debug for RegressionTargetBlock
Source§impl<'de> Deserialize<'de> for RegressionTargetBlock
impl<'de> Deserialize<'de> for RegressionTargetBlock
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
Source§impl PartialEq for RegressionTargetBlock
impl PartialEq for RegressionTargetBlock
Source§fn eq(&self, other: &RegressionTargetBlock) -> bool
fn eq(&self, other: &RegressionTargetBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegressionTargetBlock
impl Serialize for RegressionTargetBlock
impl StructuralPartialEq for RegressionTargetBlock
Auto Trait Implementations§
impl Freeze for RegressionTargetBlock
impl RefUnwindSafe for RegressionTargetBlock
impl Send for RegressionTargetBlock
impl Sync for RegressionTargetBlock
impl Unpin for RegressionTargetBlock
impl UnsafeUnpin for RegressionTargetBlock
impl UnwindSafe for RegressionTargetBlock
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