MPredict: Classify a set of new observation points

Description Usage Arguments Value Examples

View source: R/best.R

Description

Classify a set of new observation points

Usage

1

Arguments

M

A matrix of new observations where one row is one observation

Fit

A BEST object

Value

The predicted class

Examples

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

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