naive_bn: Naive Bayes Classifier

Description Usage Arguments Value

Description

A function of Naive Bayes Classifier for numeric only independents.

Usage

1
naive_bn(data, method, target)

Arguments

data

a data.table class modelling dataset; only support numeric independents.

method

a character for distribution of independents. There are three options: "normal","exp" and "gamma".

target

a character for dependent variable name.

Value

a list of modeling result. It contains the following components: target: a character for dependent variable name; prior: a data.table for prior method a character for distribution of independents. group.. and overall... data.tables for posterior


xinzhou1023/nbcont documentation built on May 4, 2019, 1:07 p.m.