pub struct VariationalGpcConfig {
pub n_inducing: usize,
pub inducing_init: InducingPointInit,
pub max_iter: usize,
pub learning_rate: f64,
pub tol: f64,
pub jitter: f64,
pub optimize_kernel: bool,
pub random_state: Option<u64>,
}Expand description
Configuration for VariationalGaussianProcessClassifier.
Fields§
§n_inducing: usizeNumber of inducing points.
inducing_init: InducingPointInitStrategy used to place the inducing points (fixed after init).
max_iter: usizeMaximum number of gradient-ascent iterations on the ELBO.
learning_rate: f64Learning rate for the (plain) gradient ascent updates.
tol: f64Convergence tolerance on successive ELBO values.
jitter: f64Diagonal jitter added to K_mm before its Cholesky factorization.
optimize_kernel: boolWhether to also optimize kernel hyperparameters (via a finite-difference ELBO gradient) alongside the variational parameters.
random_state: Option<u64>Random seed controlling stochastic inducing-point initialization.
Trait Implementations§
Source§impl Clone for VariationalGpcConfig
impl Clone for VariationalGpcConfig
Source§impl Debug for VariationalGpcConfig
impl Debug for VariationalGpcConfig
Auto Trait Implementations§
impl Freeze for VariationalGpcConfig
impl RefUnwindSafe for VariationalGpcConfig
impl Send for VariationalGpcConfig
impl Sync for VariationalGpcConfig
impl Unpin for VariationalGpcConfig
impl UnsafeUnpin for VariationalGpcConfig
impl UnwindSafe for VariationalGpcConfig
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