pub struct KernelSelectionConfig {
pub criterion: SelectionCriterion,
pub cv_folds: usize,
pub noise_variance: f64,
pub random_state: Option<u64>,
}Expand description
Configuration for KernelSelector.
Fields§
§criterion: SelectionCriterionCriterion used to rank candidates.
cv_folds: usizeNumber of folds used when criterion is SelectionCriterion::Cv.
noise_variance: f64Initial (and, for AIC/BIC/LML scoring, jointly optimized) observation
noise variance σ_n².
random_state: Option<u64>Random seed controlling the CV fold shuffle.
Trait Implementations§
Source§impl Clone for KernelSelectionConfig
impl Clone for KernelSelectionConfig
Source§impl Debug for KernelSelectionConfig
impl Debug for KernelSelectionConfig
Auto Trait Implementations§
impl Freeze for KernelSelectionConfig
impl RefUnwindSafe for KernelSelectionConfig
impl Send for KernelSelectionConfig
impl Sync for KernelSelectionConfig
impl Unpin for KernelSelectionConfig
impl UnsafeUnpin for KernelSelectionConfig
impl UnwindSafe for KernelSelectionConfig
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,
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