pub enum SelectionCriterion {
Aic,
Bic,
Cv,
LogMarginalLikelihood,
}Expand description
Criterion used to rank candidate kernels.
Variants§
Aic
Akaike Information Criterion (lower is better).
Bic
Bayesian Information Criterion (lower is better).
Cv
Mean held-out predictive log density under k-fold CV (higher is better).
LogMarginalLikelihood
Raw log marginal likelihood (higher is better).
Implementations§
Source§impl SelectionCriterion
impl SelectionCriterion
Sourcepub fn higher_is_better(self) -> bool
pub fn higher_is_better(self) -> bool
Whether higher scores are better for this criterion (Cv and
LogMarginalLikelihood), as opposed to lower being better (Aic,
Bic).
Trait Implementations§
Source§impl Clone for SelectionCriterion
impl Clone for SelectionCriterion
impl Copy for SelectionCriterion
Source§impl Debug for SelectionCriterion
impl Debug for SelectionCriterion
Source§impl PartialEq for SelectionCriterion
impl PartialEq for SelectionCriterion
impl StructuralPartialEq for SelectionCriterion
Auto Trait Implementations§
impl Freeze for SelectionCriterion
impl RefUnwindSafe for SelectionCriterion
impl Send for SelectionCriterion
impl Sync for SelectionCriterion
impl Unpin for SelectionCriterion
impl UnsafeUnpin for SelectionCriterion
impl UnwindSafe for SelectionCriterion
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