pub struct GpConstantSquaredExponentialSurrogate(pub GaussianProcess<f64, ConstantMean, SquaredExponentialCorr>);
Expand description
GP surrogate with Constant
regression model and SquaredExponential
correlation model.
See GaussianProcess
Tuple Fields§
§0: GaussianProcess<f64, ConstantMean, SquaredExponentialCorr>
Trait Implementations§
source§impl Clone for GpConstantSquaredExponentialSurrogate
impl Clone for GpConstantSquaredExponentialSurrogate
source§fn clone(&self) -> GpConstantSquaredExponentialSurrogate
fn clone(&self) -> GpConstantSquaredExponentialSurrogate
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 GpSurrogate for GpConstantSquaredExponentialSurrogate
impl GpSurrogate for GpConstantSquaredExponentialSurrogate
source§fn predict(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
fn predict(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
Predict output values at n points given as (n, xdim) matrix.
source§fn predict_var(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
fn predict_var(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
Predict variance values at n points given as (n, xdim) matrix.
source§fn predict_values(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
fn predict_values(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
👎Deprecated since 0.17.0: renamed predict
Predict output values at n points given as (n, xdim) matrix.
source§impl GpSurrogateExt for GpConstantSquaredExponentialSurrogate
impl GpSurrogateExt for GpConstantSquaredExponentialSurrogate
source§fn predict_gradients(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
fn predict_gradients(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
Predict derivatives at n points and return (n, xdim) matrix
where each column is the partial derivatives wrt the ith component
source§fn predict_var_gradients(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
fn predict_var_gradients(&self, x: &ArrayView2<'_, f64>) -> Result<Array2<f64>>
Predict derivatives of the variance at n points and return (n, xdim) matrix
where each column is the partial derivatives wrt the ith component
impl FullGpSurrogate for GpConstantSquaredExponentialSurrogate
Auto Trait Implementations§
impl Freeze for GpConstantSquaredExponentialSurrogate
impl RefUnwindSafe for GpConstantSquaredExponentialSurrogate
impl Send for GpConstantSquaredExponentialSurrogate
impl Sync for GpConstantSquaredExponentialSurrogate
impl Unpin for GpConstantSquaredExponentialSurrogate
impl UnwindSafe for GpConstantSquaredExponentialSurrogate
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