PredictNew: Predict response of new instance using local expert ensemble...

Description Usage Arguments Value

Description

Takes a new instance feature vector, a local expert model list object, a stacking regression model, and the y-values associated with the binary columns matrix to generate a prediction and plot.

Usage

1
2
PredictNew(x, model.list, stack.model, y.vals, plot = FALSE,
  verbose = FALSE, df = 10, cred, ...)

Arguments

x

Attribute vector of new instance to be predicted

model.list

Model list object from TrainLEs function

stack.model

Regression model trained on LE output

y.vals

Y-values from BinCols function

plot

Display plot of LE predictions and stack estimate

verbose

Determines whether prediction information is printed

df

Degrees of freedom to pass spline if plotting

cred

Credibility interval for HDI in plot

...

Additional arguments to pass to the FitInstance function

Value

Returns a list containing the stack prediction y-value, local expert predictions, and associated y-values.


nnormandin/localexpeRt documentation built on May 23, 2019, 9:29 p.m.