connecting python with rapidminer

nana Member Posts: 3 Contributor I
edited November 2018 in Help
hello

i am trying to connect my work in python programming language with rapidMiner
how can i do it ?
please any way to make it true
thank you
Tagged:

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869   Unicorn
    Hi,

    you have at least two choices:
    - install RapidAnalytics, export your RapidMiner processes as webservice, and call the webservice from your python programm.
    - call RapidMiner via the command line from your python script
    - maybe there is even a python 2 java bridge? Then you could include the rapidminer.jar into your python code.

    Please remember that the RapidMiner/RapidAnalytics Community Edition is released under the AGPL, which requires that your problem must also be released under the very same license in all 3 cases mentioned above. If that is no option for you, you have to purchase an Enterprise Edition.

    Best regards,
    Marius
  • nana Member Posts: 3 Contributor I
    i appreciate that , thank you so much
  • wesselwessel Member Posts: 537  Guru
    You can use Jython in combination with Java fairly easy.

    http://www.jython.org/jythonbook/en/1.0/JythonAndJavaIntegration.html

    So if you use:
    jython -J-cp JAR1:JAR2

    when calling your Java script, then you can import RM classes into your python code.

    Best regards,

    Wessel


  • nana Member Posts: 3 Contributor I
    i am so thankful
Sign In or Register to comment.