ChoR.MML {ChoR}R Documentation

Call to the MML chordalysis algorithm.

Description

Searches a statistically significant decomposable model to explain a dataset.

Usage

ChoR.MML(x, card = NULL)

Arguments

x

A dataframe with categorical data; column names are the name of the attributes.

card

A vector containing the cardinality of the attributes (position wise).

Details

Call the MML chordalysis function on the dataframe x. The optionnal card argument can provide a vector of cardinalities for each attribute (i.e. column) of the dataframe. If absent, the cardinalities are computed from the dataframe, but may not be accurate if some possible values never show up. See papers "A statistically efficient and scalable method for log-linear analysis of high-dimensional data, ICDM 2014" and "Scaling log-linear analysis to datasets with thousands of variables, SDM 2015" for more details.

Value

A Chordalysis object. Use ChoR.as.* functions to access the result.

Examples

## Not run:  res = ChoR.MML(data) 
## Not run:  res = ChoR.MML(data, c(3, 5, 4, 4, 3, 2, 3, 3)) 

[Package ChoR version 0.0-4 Index]