> I need help using the JRip classifier in Python.
>
> For my master thesis I am comparing different machine learning models based on rules in a stock selection framework. For all the other models there was a nice python package that I could easily use, however I was not able to find something for the Ripper algorithm. Weka has their JRip variant, which I would like to use. However, I am looking at quarterly data ranging from 2005 to 2020 where I also consider different window sizes (all my different train windows en test datasets are stored in separate csv files). Hence, doing it manually in weka would take for ever and I simply want to loop over my different datasets in python and retrieve an array of predictions.
>
> Currently, I have looked at the example codes but I cannot figure out how to get it working. If someone knows how, it would really mean a lot if you can help me as it is the only thing I still need to do for my thesis in terms of results and my deadline is getting closer. If someone knows a different package in python for Ripper or knows how to loop over different datasets in weka itself that would also help me a lot!
I've attached an example script with comments that should get you started.
Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 577-5304
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/