naive_bayes: Naive Bayes model

Description Usage Arguments

View source: R/naive_bayes.R

Description

Creates a summary matrix of the means and standard devations for the data matrix split by classes and features. It also calcaulates the prior class probabilities.

Usage

1

Arguments

X

data matrix which stores observations as rows and features as columns

y

column vector that stores each observation's class labels


andreabecsek/NaiveBayes documentation built on Jan. 19, 2020, 12:49 p.m.