pub struct RegressionMetricReport {
pub prediction_id: Option<String>,
pub producer_node: NodeId,
pub partition: PredictionPartition,
pub fold_id: Option<FoldId>,
pub level: PredictionLevel,
pub row_count: usize,
pub target_width: usize,
pub target_names: Vec<String>,
pub metrics: BTreeMap<String, f64>,
}Fields§
§prediction_id: Option<String>§producer_node: NodeId§partition: PredictionPartition§fold_id: Option<FoldId>§level: PredictionLevel§row_count: usize§target_width: usize§target_names: Vec<String>§metrics: BTreeMap<String, f64>Implementations§
Source§impl RegressionMetricReport
impl RegressionMetricReport
pub fn validate(&self) -> Result<(), DagMlError>
pub fn into_candidate_score( self, candidate_id: impl Into<String>, ) -> Result<CandidateScore, DagMlError>
Trait Implementations§
Source§impl Clone for RegressionMetricReport
impl Clone for RegressionMetricReport
Source§fn clone(&self) -> RegressionMetricReport
fn clone(&self) -> RegressionMetricReport
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 RegressionMetricReport
impl Debug for RegressionMetricReport
Source§impl<'de> Deserialize<'de> for RegressionMetricReport
impl<'de> Deserialize<'de> for RegressionMetricReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RegressionMetricReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RegressionMetricReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RegressionMetricReport
impl PartialEq for RegressionMetricReport
Source§fn eq(&self, other: &RegressionMetricReport) -> bool
fn eq(&self, other: &RegressionMetricReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegressionMetricReport
impl Serialize for RegressionMetricReport
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 RegressionMetricReport
Auto Trait Implementations§
impl Freeze for RegressionMetricReport
impl RefUnwindSafe for RegressionMetricReport
impl Send for RegressionMetricReport
impl Sync for RegressionMetricReport
impl Unpin for RegressionMetricReport
impl UnsafeUnpin for RegressionMetricReport
impl UnwindSafe for RegressionMetricReport
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