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)


bmihaljevic/bnclassify documentation built on March 18, 2024, 8:34 a.m.