Skip to contents

This function fits an outerbase model for prediction and hides most of the actual object-oriented aspects of the package.

Usage

obfit(
  x,
  y,
  numb = 100,
  verbose = 0,
  covnames = NULL,
  hyp = NULL,
  numberopts = 2,
  nthreads = NULL
)

Arguments

x

a n by d sized matrix of inputs

y

a n length vector of outputs

numb

size of basis to use

verbose

0-3, how much information on optimization to print to console

covnames

a d length vector of covariance names

hyp

initial covariance hyperparameters

numberopts

number of optimizations done for hyperparameters, must be larger than 1

nthreads

number of threads used in learning

Value

Saving important model information to be used with obpred