nem package, nem.BN learning with 'continuous_Baysian' not possible
0
0
Entering edit mode
@siebourg-juliane-5379
Last seen 7.1 years ago
Hi, In the package 'nem' I encountered a problem when trying to learn a nem as the bayesian network version. I think this results from different spellings of the word 'continuous'. Setting the the mode in the default parameters suggests 'continous_Baysian', which gets checkt in the function nem(). However the internal function nem.BN checks for 'continuous_Baysian' in order to run. Here a toy example with the errors I get: Phi = sampleRndNetwork(paste("S",1:5,sep="")) D = sampleData(Phi, 100, type="density")$D hyper=set.default.parameters(paste("S",1:5,sep="")) hyper$mode="continous_Bayesian" resultBN = nem(D, inference="BN.greedy", control=hyper) # gives: Error in score_BN(BN, mode = mode, loc = rep, ...) : inexistant mode hyper$mode="continuous_Bayesian" resultBN = nem(D, inference="BN.greedy", control=hyper) # gives: Error in nem.BN(D, "greedy", mode = control$mode, Pm = control$Pm, lambda = control$lambda, : # Unknown mode ' continuous_Bayesian ' Maybe I am doing something wrong here, but the option 'continuous_Bayesian' seems currently not usable to me. Regards Juliane
Network Bayesian nem Network Bayesian nem • 632 views
ADD COMMENT

Login before adding your answer.

Traffic: 486 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6