gpComputeAlpha: Update the vector 'alpha' for computing posterior mean...

Description Usage Arguments Value See Also Examples

Description

updates the vectors that are known as ‘alpha’ in the support vector machine, in other words invK*y, where y is the target values.

Usage

1
gpComputeAlpha(model, m)

Arguments

model

the model for which the alphas are going to be updated.

m

the values of m for which the updates will be made.

Value

model

the model with the updated alphas.

See Also

gpCreate, gpUpdateAD, gpUpdateKernels.

Examples

1
## missing

Example output

Loading required package: Matrix
Loading required package: fields
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: 'spam'

The following objects are masked from 'package:base':

    backsolve, forwardsolve

Loading required package: maps

gptk documentation built on May 2, 2019, 3:27 p.m.

Related to gpComputeAlpha in gptk...