aode: Learn an AODE ensemble.

View source: R/learn-struct.R

aodeR Documentation

Learn an AODE ensemble.

Description

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

Usage

aode(class, dataset, features = NULL)

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.

Value

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


bnclassify documentation built on Nov. 16, 2022, 5:08 p.m.