pub struct SquaredExponentialCorr();
Expand description
Squared exponential correlation models
Trait Implementations§
source§impl Clone for SquaredExponentialCorr
impl Clone for SquaredExponentialCorr
source§fn clone(&self) -> SquaredExponentialCorr
fn clone(&self) -> SquaredExponentialCorr
Returns a copy 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 moresource§impl<F: Float> CorrelationModel<F> for SquaredExponentialCorr
impl<F: Float> CorrelationModel<F> for SquaredExponentialCorr
source§fn value(
&self,
d: &ArrayBase<impl Data<Elem = F>, Ix2>,
theta: &ArrayBase<impl Data<Elem = F>, Ix1>,
weights: &ArrayBase<impl Data<Elem = F>, Ix2>
) -> Array2<F>
fn value( &self, d: &ArrayBase<impl Data<Elem = F>, Ix2>, theta: &ArrayBase<impl Data<Elem = F>, Ix1>, weights: &ArrayBase<impl Data<Elem = F>, Ix2> ) -> Array2<F>
d h prod prod exp( - theta_l * |weight_j_l * d_j|^2 ) j=1 l=1
source§fn jacobian(
&self,
x: &ArrayBase<impl Data<Elem = F>, Ix1>,
xtrain: &ArrayBase<impl Data<Elem = F>, Ix2>,
theta: &ArrayBase<impl Data<Elem = F>, Ix1>,
weights: &ArrayBase<impl Data<Elem = F>, Ix2>
) -> Array2<F>
fn jacobian( &self, x: &ArrayBase<impl Data<Elem = F>, Ix1>, xtrain: &ArrayBase<impl Data<Elem = F>, Ix2>, theta: &ArrayBase<impl Data<Elem = F>, Ix1>, weights: &ArrayBase<impl Data<Elem = F>, Ix2> ) -> Array2<F>
Compute jacobian matrix of
r(x, x')
at given x
given a set of xtrain
training samples,
theta
parameters, and PLS weights
.source§impl Debug for SquaredExponentialCorr
impl Debug for SquaredExponentialCorr
source§impl Default for SquaredExponentialCorr
impl Default for SquaredExponentialCorr
source§fn default() -> SquaredExponentialCorr
fn default() -> SquaredExponentialCorr
Returns the “default value” for a type. Read more
source§impl Display for SquaredExponentialCorr
impl Display for SquaredExponentialCorr
source§impl From<SquaredExponentialCorr> for String
impl From<SquaredExponentialCorr> for String
source§fn from(_item: SquaredExponentialCorr) -> String
fn from(_item: SquaredExponentialCorr) -> String
Converts to this type from the input type.
source§impl PartialEq for SquaredExponentialCorr
impl PartialEq for SquaredExponentialCorr
source§fn eq(&self, other: &SquaredExponentialCorr) -> bool
fn eq(&self, other: &SquaredExponentialCorr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<String> for SquaredExponentialCorr
impl TryFrom<String> for SquaredExponentialCorr
impl Copy for SquaredExponentialCorr
impl Eq for SquaredExponentialCorr
impl StructuralPartialEq for SquaredExponentialCorr
Auto Trait Implementations§
impl Freeze for SquaredExponentialCorr
impl RefUnwindSafe for SquaredExponentialCorr
impl Send for SquaredExponentialCorr
impl Sync for SquaredExponentialCorr
impl Unpin for SquaredExponentialCorr
impl UnwindSafe for SquaredExponentialCorr
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.