search for: cpdag

Displaying 1 result from an estimated 1 matches for "cpdag".

2013 Apr 10
1
bnlearn: how to compute boot strength with mmhc and a blacklist
...ntation of custom.strength, the following code example is given: start = random.graph(nodes = names(learning.test), num = 50) netlist = lapply(start, function(net) { hc(learning.test, score = "bde", iss = 10, start = net) }) arcs = custom.strength(netlist, nodes = names(learning.test), cpdag = FALSE) This code makes 50 different networks from the same data, then uses them as input for custom.strength. The networks are constructed using the algorithm "hc". A different network is produced every time "hc" is invoked because a random starting network is supplied to...