pub struct ClusteringConfig {
pub enabled: bool,
pub cluster_start_probability: f64,
pub cluster_continuation_probability: f64,
pub min_cluster_size: usize,
pub max_cluster_size: usize,
pub cluster_time_window_days: i64,
pub use_fraud_specific_windows: bool,
pub preserve_account_relationships: bool,
}Expand description
Clustering behavior for anomalies.
Fields§
§enabled: boolWhether clustering is enabled.
cluster_start_probability: f64Probability that an anomaly starts a new cluster.
cluster_continuation_probability: f64Probability that next anomaly joins current cluster.
min_cluster_size: usizeMinimum cluster size.
max_cluster_size: usizeMaximum cluster size.
cluster_time_window_days: i64Time window for cluster (days) - default for General category.
use_fraud_specific_windows: boolWhether to use fraud-type-specific time windows.
preserve_account_relationships: boolWhether to preserve account relationships within clusters.
Trait Implementations§
Source§impl Clone for ClusteringConfig
impl Clone for ClusteringConfig
Source§fn clone(&self) -> ClusteringConfig
fn clone(&self) -> ClusteringConfig
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 ClusteringConfig
impl Debug for ClusteringConfig
Auto Trait Implementations§
impl Freeze for ClusteringConfig
impl RefUnwindSafe for ClusteringConfig
impl Send for ClusteringConfig
impl Sync for ClusteringConfig
impl Unpin for ClusteringConfig
impl UnwindSafe for ClusteringConfig
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