Learn R Programming

AnDE (version 1.0)

aode: aode

Description

This function builds the model using the AODE algorithm which can then be used classification.

Usage

aode(train, mestimate = 1, weighted = FALSE, subsumption = FALSE, S = 100)

Arguments

train
data.frame : training data. It should be a data frame. AODE works only discretized data. It would be better to discreetize the data frame before passing it to this function.However, aode discretizes the data if not done before hand. It uses an R package called discretization for the purpose. It uses the well known MDL discretization technique.(It might fail sometimes)
mestimate
optional numeric
weighted
optional boolean
subsumption
optional boolean
S
optional numeric subsumption constant

Value

An object of class AODE

Details

This is the training phase of the algorithm. Necessary count and probability tables are generated which will used for the prediction purpose.

Examples

Run this code
require("datasets")
aode(iris,mestimate=1)
aode(iris)
aode(iris,weighted=TRUE)

Run the code above in your browser using DataLab