pub struct GraphAnomalyConfig {
pub min_hop_samples: usize,
pub rare_hop_fraction: f32,
pub min_pair_samples: usize,
pub rare_pair_fraction: f32,
pub min_route_samples: usize,
pub rare_route_fraction: f32,
pub flag_impossible_hops: bool,
pub flag_rare_hops: bool,
pub flag_rare_pairs: bool,
pub flag_rare_routes: bool,
}Expand description
Configuration for relational / graph anomaly detection.
Fields§
§min_hop_samples: usizeMinimum hop samples before rare-hop scoring.
rare_hop_fraction: f32Baseline hop fraction below this is “rare”.
min_pair_samples: usizeMinimum pair samples before rare-pair scoring.
rare_pair_fraction: f32Baseline pair fraction below this is rare.
min_route_samples: usizeMinimum route samples before rare-route scoring.
rare_route_fraction: f32Baseline route fraction below this is rare.
flag_impossible_hops: boolFlag topology-impossible cross-camera hops.
flag_rare_hops: boolFlag rare camera transitions vs baseline.
flag_rare_pairs: boolFlag rare co-occurrence pairs.
flag_rare_routes: boolFlag rare zone routes.
Trait Implementations§
Source§impl Clone for GraphAnomalyConfig
impl Clone for GraphAnomalyConfig
impl Copy for GraphAnomalyConfig
Source§impl Debug for GraphAnomalyConfig
impl Debug for GraphAnomalyConfig
Source§impl Default for GraphAnomalyConfig
impl Default for GraphAnomalyConfig
Source§impl PartialEq for GraphAnomalyConfig
impl PartialEq for GraphAnomalyConfig
impl StructuralPartialEq for GraphAnomalyConfig
Auto Trait Implementations§
impl Freeze for GraphAnomalyConfig
impl RefUnwindSafe for GraphAnomalyConfig
impl Send for GraphAnomalyConfig
impl Sync for GraphAnomalyConfig
impl Unpin for GraphAnomalyConfig
impl UnsafeUnpin for GraphAnomalyConfig
impl UnwindSafe for GraphAnomalyConfig
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