FPredict {BESTree}R Documentation

Emits prediction from a forest of BEST's

Description

Emits prediction from a forest of BEST's

Usage

FPredict(M, LFit)

Arguments

M

A matrix of new observations where one row is one observation

LFit

A list of BEST Objects (Usually produced by RBEST or BESTForest)

Value

A vector of predictions

Examples

n <- 500
Data <- BESTree::Data[1:n,]
d <- ncol(Data)-1
NewPoints <- BESTree::Data[(n+1):(n+11),1:d]
VA <- ForgeVA(d,1,0,0,0)
Size <- 50
NoT <- 10
Fit <- BESTree::BaggedBEST(Data,VA,NoT,Size)
Predictions <- BESTree::FPredict(NewPoints,Fit)

[Package BESTree version 0.5.2 Index]