rm(list = ls())
library(bnlearn)
meeting_score <- score(resGS, data.frame(dades), type="bde", by.node = T, debug = T)
meeting_score
resGS is the network
dades is the data
meeting_score will provide score of each node
Return to R package for Bayesian network structure learning (BNlearn)
Users browsing this forum: No registered users and 8 guests