How can I parallelize the hc
algorithm from the package bnlearn
? For example, how can I update the following code
bn_k2 <- hc(x = dTrain, score = "k2",debug = F, optimized = T)
My pc has 8 Core and when I run hc
just one CPU is used. How can I make to run on all 8 Core ?