View source: R/multi_pars_cal.R
This is an auxiliary function to both mml_with_parents() and mml_with_parents_fast() when the target node has multiple parents.
1 2 | multi_pars_cal(indexListPerNodePerValue, commonParentsIndices, arityChild,
targetIndex, alpha)
|
indexListPerNodePerValue |
A list of stored indices for each value of each node. It is obtained by the function count_occurance(). |
commonParentsIndices |
commonParentsIndices |
arityChild |
arityChild |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.