Learn R Programming

bnclassify (version 0.4.8)

aode: Learn an AODE ensemble.

Description

If there is a single predictor then returns a naive Bayes.

Usage

aode(class, dataset, features = NULL)

Value

A bnc_aode or a bnc_dag (if returning a naive Bayes)

Arguments

class

A character. Name of the class variable.

dataset

The data frame from which to learn the classifier.

features

A character vector. The names of the features. This argument is ignored if dataset is provided.