Using WEKA learner

chenUser4321
chenUser4321 New Altair Community Member
edited November 5 in Community Q&A
Hi:

When using WEKA learner in RM 4.6, I notice that I may need to define a system property named rapidminer.weka.jar according to this link http://rapid-i.com/wiki/index.php?title=Integrating_RapidMiner_into_your_application#RapidMiner_as_a_library][url]http://rapid-i.com/wiki/index.php?title=Integrating_RapidMiner_into_your_application#RapidMiner_as_a_library.
This allows RM to know where the weka jar file is.

I am using eclipse to do the development, and I have tried to define this rapidminer.weka.jar as an environment variable in run configuration. But rapidminer still cannot find the weka jar file when doing initialization (RapidMiner.init()).

So how should this system property be defined? Any suggestion is appreciated!

Answers

  • fischer
    fischer New Altair Community Member
    Hi,

    in RM 5.0 this is no longer necessary.

    I don't remember 4.6 well, but I don't think you ever had to define environment variables at all. I would try defining a system property instead.

    Best,
    Simon
  • chenUser4321
    chenUser4321 New Altair Community Member
    Thank you, Simon!