Given a node x and its learned Markov blanket mb(x), this function pre-calculates the mml score of each node y in mb(x) given its potential parents. There are certain nodes that can't be parents of y, such as any subset that contains y, or any subset that doesn't contain the target node x, because if x is not a parent of y, then any parents of y must not exist in mb(x). This function helps speed up computing mmlcpt for an entire mbpt.
1 2 | mml_cpt_cach(indexListPerNodePerValue, arities, sampleSize, vars, target,
learnedMB)
|
vars |
A vector of all variables. |
target |
A taregt node. |
learnedMB |
The learned mb of the target node |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.