Description Usage Arguments Value Examples
Return an array containing the values that each variable of the network is more likely to take, according to the CPTS. In case of ties take the first value.
1 2 3 4 5 6 7 | get.most.probable.values(x, prev.values = NULL)
## S4 method for signature 'BN'
get.most.probable.values(x, prev.values = NULL)
## S4 method for signature 'InferenceEngine'
get.most.probable.values(x, prev.values = NULL)
|
x |
a |
prev.values |
vector of size |
array containing, in each position, the most probable value for the corresponding variable.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# try with a BN object x
get.most.probable.values(x)
# now build an InferenceEngine object
eng <- InferenceEngine(x)
get.most.probable.values(eng)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.