pub struct PerMotifMetrics {
pub motif: String,
pub tp: u64,
pub fp: u64,
pub fn_: u64,
pub precision: f64,
pub recall: f64,
pub f1: f64,
pub time_to_detection_median_s: f64,
pub time_to_detection_p95_s: f64,
pub false_alarm_rate_per_hour: f64,
pub episode_compression_ratio: f64,
}Fields§
§motif: String§tp: u64§fp: u64§fn_: u64§precision: f64§recall: f64§f1: f64§time_to_detection_median_s: f64Median time-to-detection in seconds across true positives.
time_to_detection_p95_s: f6495th percentile time-to-detection.
false_alarm_rate_per_hour: f64False-alarm rate during stable windows (episodes per stable hour).
episode_compression_ratio: f64Episode compression ratio: residual samples in motif’s class / number of episodes emitted.
Trait Implementations§
Source§impl Clone for PerMotifMetrics
impl Clone for PerMotifMetrics
Source§fn clone(&self) -> PerMotifMetrics
fn clone(&self) -> PerMotifMetrics
Returns a duplicate of the value. Read more
1.0.0 · 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 PerMotifMetrics
impl Debug for PerMotifMetrics
Source§impl Default for PerMotifMetrics
impl Default for PerMotifMetrics
Source§fn default() -> PerMotifMetrics
fn default() -> PerMotifMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PerMotifMetrics
impl<'de> Deserialize<'de> for PerMotifMetrics
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
Auto Trait Implementations§
impl Freeze for PerMotifMetrics
impl RefUnwindSafe for PerMotifMetrics
impl Send for PerMotifMetrics
impl Sync for PerMotifMetrics
impl Unpin for PerMotifMetrics
impl UnsafeUnpin for PerMotifMetrics
impl UnwindSafe for PerMotifMetrics
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