How to pass parameters to the W-BayesNet operator?
Hi:
First, congratulations to all of you for creating the Rapid-I forum and specially for such an awesome program.
My problem is the following. I'm trying to use the Weka classes for Bayes Nets in RapidMiner but I have some problems for getting the operator W-BayesNet to work as I need. The problem is that I need to pass parameters to the weka classes but so far I have not been able to find the best way to do it.
For instance, to implement the K2 algorithm, the Q parameter of W-BayesNet is set to weka.classifiers.bayes.net.search.local.K2. But it is not enough because I need to pass some parameters to this Weka class, as for instance, the parameter P (maximum number of parents), S (score), etc. ( In Weka we use : -Q weka.classifiers.bayes.net.search.local.K2 -- -P 3 -S BAYES)
Any suggestions are very very welcome!!!
Thanks in advance,
Gladys
First, congratulations to all of you for creating the Rapid-I forum and specially for such an awesome program.
My problem is the following. I'm trying to use the Weka classes for Bayes Nets in RapidMiner but I have some problems for getting the operator W-BayesNet to work as I need. The problem is that I need to pass parameters to the weka classes but so far I have not been able to find the best way to do it.
For instance, to implement the K2 algorithm, the Q parameter of W-BayesNet is set to weka.classifiers.bayes.net.search.local.K2. But it is not enough because I need to pass some parameters to this Weka class, as for instance, the parameter P (maximum number of parents), S (score), etc. ( In Weka we use : -Q weka.classifiers.bayes.net.search.local.K2 -- -P 3 -S BAYES)
Any suggestions are very very welcome!!!
Thanks in advance,
Gladys