aode: aode

Description Usage Arguments Details Value Author(s) Examples

View source: R/aode.R

Description

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

Usage

1
2
  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

Details

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

Value

An object of class AODE

Author(s)

saiteja ranuva

Examples

1
2
3
4
require("datasets")
aode(iris,mestimate=1)
aode(iris)
aode(iris,weighted=TRUE)

saitejar/AnDE documentation built on May 29, 2019, 12:59 p.m.