pub struct FittedGaussianProcessClassifier {
pub x_train: Array2<f64>,
pub alpha: Array1<f64>,
pub l_lower: Mat<f64>,
pub w_sqrt: Array1<f64>,
pub kernel: GpKernel,
pub classes: [f64; 2],
}Fields§
§x_train: Array2<f64>§alpha: Array1<f64>y_train - π̂ (the dual coefficient vector at the posterior mode).
l_lower: Mat<f64>Cholesky factor L of I + Wˢ K Wˢ.
w_sqrt: Array1<f64>Wˢ = W^{1/2} at the posterior mode.
kernel: GpKernel§classes: [f64; 2]Trait Implementations§
Source§impl Predict<f64> for FittedGaussianProcessClassifier
impl Predict<f64> for FittedGaussianProcessClassifier
Auto Trait Implementations§
impl Freeze for FittedGaussianProcessClassifier
impl RefUnwindSafe for FittedGaussianProcessClassifier
impl Send for FittedGaussianProcessClassifier
impl Sync for FittedGaussianProcessClassifier
impl Unpin for FittedGaussianProcessClassifier
impl UnsafeUnpin for FittedGaussianProcessClassifier
impl UnwindSafe for FittedGaussianProcessClassifier
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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
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