Meta Model Interface: Test

Description

This model does prediction by sampling on the real target function. Supposed to be used for testing purpose only. Do not use as surrogate model.

Usage

1
spotPredictTest(rawB, mergedB, largeDesign, spotConfig, fit = NULL)

Arguments

rawB

unmerged data

mergedB

merged data

largeDesign

new design points which should be predicted

spotConfig

global list of all options, needed to provide data for calling functions

fit

if an existing model fit is supplied, the model will not be build based on data, but only evaluated with the model fit (on the largeDesign data). To build the model, this parameter has to be NULL. If it is not NULL the parameters mergedB and rawB will not be used at all in the function.

Value

returns the list spotConfig with two new entries:
spotConfig$seq.modelFit fit of the earth model used with predict()
spotConfig$seq.largeDesignY the y values of the large design, evaluated with the fit

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.