FPredict: Emits prediction from a forest of BEST's

Description Usage Arguments Value Examples

View source: R/bestforest.R

Description

Emits prediction from a forest of BEST's

Usage

1
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

1
2
3
4
5
6
7
8
9
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)

Example output



BESTree documentation built on Aug. 9, 2019, 5:07 p.m.