> Hello Peter, I have two doubts, the first is that you cannot use the options[...] command in the Jrip classifier, like the other classifiers?,
No, you can use "options=[...]", just like with any classifier. I was
merely pointing a simple way of converting a setup from the Weka
Explorer into a pww3 classifier object. Since you posted the GOE
screenshot.
cls = Classifier(classname="weka.classifiers.rules.JRip",
options=["-F", "3", "-N", "2.0", "-O", "2", "-S", "135"])
Or, if you already have a JRip classifier object:
cls.options = ["-F", "3", "-N", "2.0", "-O", "2", "-S", "135"]
> and the second, in the example you gave me, I could construct a string to load it to "cmdline =", this in order to change the seed dynamically?
seed = 135
cmdline = 'weka.classifiers.rules.JRip -F 3 -N 2.0 -O 2 -S %d' % seed