f_s_mean: f_* mean function

Description Usage Arguments

View source: R/f_s_mean.R

Description

Calculates the posterior mean for test input X_* for a given draw from the posterior of w.

Usage

1
f_s_mean(w_p, k_xx, k_sx, y, x)

Arguments

w_p

A draw from the posterior of w

k_xx

K(X,X) matrix (from the training data)

k_sx

K(X*, X) matrix

y

Observed outcomes

x

Matrix of training covariates


ooelrich/OBBP documentation built on May 1, 2020, 6:23 a.m.