pub enum EpistemicUncertaintyMethod {
MonteCarloDropout {
dropout_rate: f64,
n_samples: usize,
},
DeepEnsembles {
n_models: usize,
},
BayesianNeuralNetwork {
n_samples: usize,
},
Bootstrap {
n_bootstrap: usize,
sample_ratio: f64,
},
GaussianProcess {
kernel_type: String,
},
VariationalInference {
n_samples: usize,
},
LaplaceApproximation {
hessian_method: String,
},
}Variants§
MonteCarloDropout
MonteCarloDropout
DeepEnsembles
DeepEnsembles
BayesianNeuralNetwork
BayesianNeuralNetwork
Bootstrap
GaussianProcess
VariationalInference
LaplaceApproximation
Trait Implementations§
Source§impl Clone for EpistemicUncertaintyMethod
impl Clone for EpistemicUncertaintyMethod
Source§fn clone(&self) -> EpistemicUncertaintyMethod
fn clone(&self) -> EpistemicUncertaintyMethod
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 moreAuto Trait Implementations§
impl Freeze for EpistemicUncertaintyMethod
impl RefUnwindSafe for EpistemicUncertaintyMethod
impl Send for EpistemicUncertaintyMethod
impl Sync for EpistemicUncertaintyMethod
impl Unpin for EpistemicUncertaintyMethod
impl UnwindSafe for EpistemicUncertaintyMethod
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
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