pub struct Trained {
pub kernel: Box<dyn Kernel>,
pub robust_likelihood: RobustLikelihood,
pub training_data: (Array2<f64>, Array1<f64>),
pub alpha: Array1<f64>,
pub cholesky: Array2<f64>,
pub log_likelihood: f64,
pub outlier_weights: Array1<f64>,
pub outlier_indices: Vec<usize>,
pub robustness_metrics: RobustnessMetrics,
}Expand description
State marker for trained robust GP
Fields§
§kernel: Box<dyn Kernel>§robust_likelihood: RobustLikelihood§training_data: (Array2<f64>, Array1<f64>)§alpha: Array1<f64>§cholesky: Array2<f64>§log_likelihood: f64§outlier_weights: Array1<f64>§outlier_indices: Vec<usize>§robustness_metrics: RobustnessMetricsTrait Implementations§
Auto Trait Implementations§
impl Freeze for Trained
impl !RefUnwindSafe for Trained
impl Send for Trained
impl Sync for Trained
impl Unpin for Trained
impl !UnwindSafe for Trained
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