There is no difference between mml_cpt_fast() and mml_cpt(), other than the speed difference.
1 2 | mml_cpt_fast(indexListPerNodePerValue, cachedIndicesList, arities,
sampleSize, parentsIndices, targetIndex, alpha, statingPara)
|
indexListPerNodePerValue |
A list of stored indices for each value of each node. It is obtained by the function count_occurance(). |
cachedIndicesList |
A vector of indices stored to speed up calculations. |
arities |
A vector of variable ariteis. |
sampleSize |
Sample size of a given data set. |
parentsIndices |
Indices of parents nodes. |
targetIndex |
Index of the target node. |
alpha |
A vector of concentration parameters for a Dirichlet distribution. Range is from zeor to positive infinity, length is equal to the arity of the target variable. |
statingPara |
If TRUE MML estimate of the parameters are also stated with extra 0.5log(pi*e/6) per parameter, otherwise 0. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.