Node score

Score calculation (per node) by bnlearn

Postby musfiqsazal » Thu Oct 10, 2019 3:27 pm

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
musfiqsazal
 
Posts: 5
Joined: Thu Aug 31, 2017 9:40 am

Node score

Postby cwyoo » Thu Oct 10, 2019 3:32 pm

Calculating node score using BNlearn
cwyoo
Site Admin
 
Posts: 377
Joined: Sun Jun 22, 2014 2:38 pm


Return to R package for Bayesian network structure learning (BNlearn)

Who is online

Users browsing this forum: No registered users and 3 guests

cron