pub struct MetricRegression {
pub name: String,
pub baseline_mean: f64,
pub candidate_mean: f64,
pub mean_delta: f64,
pub baseline_pass_rate: f64,
pub candidate_pass_rate: f64,
pub pass_rate_delta: f64,
pub passed: bool,
}Expand description
One baseline-to-candidate score comparison.
Fields§
§name: StringStable scorer name.
baseline_mean: f64Baseline mean.
candidate_mean: f64Candidate mean.
mean_delta: f64Candidate minus baseline mean.
baseline_pass_rate: f64Baseline pass rate.
candidate_pass_rate: f64Candidate pass rate.
pass_rate_delta: f64Candidate minus baseline pass rate.
passed: boolWhether both drops satisfy policy.
Trait Implementations§
Source§impl Clone for MetricRegression
impl Clone for MetricRegression
Source§fn clone(&self) -> MetricRegression
fn clone(&self) -> MetricRegression
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 MetricRegression
impl Debug for MetricRegression
Source§impl<'de> Deserialize<'de> for MetricRegression
impl<'de> Deserialize<'de> for MetricRegression
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 MetricRegression
impl PartialEq for MetricRegression
Source§impl Serialize for MetricRegression
impl Serialize for MetricRegression
impl StructuralPartialEq for MetricRegression
Auto Trait Implementations§
impl Freeze for MetricRegression
impl RefUnwindSafe for MetricRegression
impl Send for MetricRegression
impl Sync for MetricRegression
impl Unpin for MetricRegression
impl UnsafeUnpin for MetricRegression
impl UnwindSafe for MetricRegression
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