Description Usage Arguments Author(s) References Examples
View source: R/check.algorithms.R
This function receives a list of algorithms of bnlearn package and check if it would be used in bnpa package.
1 | check.algorithms(bn.learn.algorithms)
|
bn.learn.algorithms |
is a list of algorithms (present in bnlearn package) to be used in BN structure learning pocess in bnpa. |
Elias Carvalho
Scutari M (2017). Bayesian Network Constraint-Based Structure Learning Algorithms: Parallel and Optimized Implementations in the bnlearn R Package. Journal of Statistical Software, 77(2), 1-20.
1 2 3 4 5 6 7 8 9 10 11 | # Clean environment
closeAllConnections()
rm(list=ls())
# Set enviroment
# setwd("~/your working directory")
# Load packages
library(bnpa)
# Set what BN learning algorithms will be used
bn.learn.algorithms <- c("gs", "hc")
# Check these algorithms
check.algorithms(bn.learn.algorithms)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.