pub struct PredictionConfig {
pub risk_confidence_threshold: f64,
pub zero_shot_coverage_threshold: f64,
pub fuzzy_top_k: usize,
pub min_samples_per_signature: usize,
}Fields§
§risk_confidence_threshold: f64§zero_shot_coverage_threshold: f64§fuzzy_top_k: usize§min_samples_per_signature: usizeMinimum sample units per signature to treat confidence as fully evidence-backed.
Trait Implementations§
Source§impl Clone for PredictionConfig
impl Clone for PredictionConfig
Source§fn clone(&self) -> PredictionConfig
fn clone(&self) -> PredictionConfig
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 PredictionConfig
impl Debug for PredictionConfig
Source§impl Default for PredictionConfig
impl Default for PredictionConfig
Source§impl<'de> Deserialize<'de> for PredictionConfig
impl<'de> Deserialize<'de> for PredictionConfig
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 PredictionConfig
impl PartialEq for PredictionConfig
Source§fn eq(&self, other: &PredictionConfig) -> bool
fn eq(&self, other: &PredictionConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PredictionConfig
impl Serialize for PredictionConfig
impl StructuralPartialEq for PredictionConfig
Auto Trait Implementations§
impl Freeze for PredictionConfig
impl RefUnwindSafe for PredictionConfig
impl Send for PredictionConfig
impl Sync for PredictionConfig
impl Unpin for PredictionConfig
impl UnsafeUnpin for PredictionConfig
impl UnwindSafe for PredictionConfig
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