yh_NB: Naive Bayes Prediction

Description Usage Arguments Value Author(s) Examples

View source: R/yh_CART.R

Description

Given training data and test examples, the NB predictions for the test data are produced and the misclassification rate is returned.

Usage

1
yh_NB(dfTr, dfTe)

Arguments

dfTr

dataframe with last column for the output. The output must be a factor.

dfTe

dataframe for test data. Must have columns corresponding to the training columns except the test output is not needed.

Value

tba. Not fully implemented yet.

Author(s)

A. I. McLeod

Examples

1

gencve documentation built on May 29, 2017, 7:12 p.m.