MPredict {BESTree} | R Documentation |
Classify a set of new observation points
MPredict(M, Fit)
M |
A matrix of new observations where one row is one observation |
Fit |
A BEST object |
The predicted class
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)