pub struct BimodalConfig {
pub enabled: bool,
pub bc_threshold: f64,
pub var_ratio_threshold: f64,
pub min_categories: usize,
}Expand description
二峰性分布検出設定構造体。
Fields§
§enabled: bool二峰性検出ガードレールの有効化フラグ。
bc_threshold: f64双峰性係数 (BC) の判定閾値 (デフォルト: 0.555、一様分布基準)。
var_ratio_threshold: f64理論最大分散に対する比率閾値 (デフォルト: 0.35)。
min_categories: usize二峰性判定を適用する最小段階数 (デフォルト: 3)。
Trait Implementations§
Source§impl Clone for BimodalConfig
impl Clone for BimodalConfig
Source§fn clone(&self) -> BimodalConfig
fn clone(&self) -> BimodalConfig
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 BimodalConfig
impl Debug for BimodalConfig
Source§impl Default for BimodalConfig
impl Default for BimodalConfig
Source§impl PartialEq for BimodalConfig
impl PartialEq for BimodalConfig
impl StructuralPartialEq for BimodalConfig
Auto Trait Implementations§
impl Freeze for BimodalConfig
impl RefUnwindSafe for BimodalConfig
impl Send for BimodalConfig
impl Sync for BimodalConfig
impl Unpin for BimodalConfig
impl UnsafeUnpin for BimodalConfig
impl UnwindSafe for BimodalConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more