Re: [R] RWeka: how to pass arguments to BayesNet for specific search method

2014-06-18 Thread p_connolly
My suggestion is not entirely satisfactory, but it's got me out of a few jams. When I can't get the RWeka syntax to work, I resort to using direct weka code in a system call. One such example looks like this and will make sense if you know how Weka does things. system("java weka.classifiers.bay

[R] RWeka: how to pass arguments to BayesNet for specific search method

2014-06-18 Thread Valentin Kuznetsov
Hi, I'm trying to solve simple problem. How to pass arguments to specific search method in RWeka package using BayesNet classifier. Here is code example: BNet <- make_Weka_classifier("weka/classifiers/bayes/BayesNet") K2="weka.classifiers.bayes.net.search.local.K2" wcontrol <- Weka_control(D=TRUE