MPredict {BESTree} | R Documentation |
Classify a set of new observation points
Description
Classify a set of new observation points
Usage
MPredict(M, Fit)
Arguments
M |
A matrix of new observations where one row is one observation |
Fit |
A BEST object |
Value
The predicted class
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
Fit <- BESTree::BEST(Data,Size,VA)
Predictions <- BESTree::MPredict(NewPoints,Fit)
[Package BESTree version 0.5.2 Index]