pub struct VariationalFreeEnergy;Expand description
Variational Free Energy implementation for sparse GP
Implementations§
Source§impl VariationalFreeEnergy
impl VariationalFreeEnergy
Sourcepub fn fit<K: SparseKernel>(
x: &Array2<f64>,
y: &Array1<f64>,
inducing_points: &Array2<f64>,
kernel: &K,
noise_variance: f64,
whitened: bool,
natural_gradients: bool,
max_iter: usize,
tol: f64,
) -> Result<(Array1<f64>, Array2<f64>, VariationalParams)>
pub fn fit<K: SparseKernel>( x: &Array2<f64>, y: &Array1<f64>, inducing_points: &Array2<f64>, kernel: &K, noise_variance: f64, whitened: bool, natural_gradients: bool, max_iter: usize, tol: f64, ) -> Result<(Array1<f64>, Array2<f64>, VariationalParams)>
Fit sparse GP using Variational Free Energy approximation
Auto Trait Implementations§
impl Freeze for VariationalFreeEnergy
impl RefUnwindSafe for VariationalFreeEnergy
impl Send for VariationalFreeEnergy
impl Sync for VariationalFreeEnergy
impl Unpin for VariationalFreeEnergy
impl UnwindSafe for VariationalFreeEnergy
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> 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