connecting python with rapidminer

na
na New Altair Community Member
edited November 5 in Community Q&A
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

Answers

  • MariusHelf
    MariusHelf New Altair Community Member
    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
  • na
    na New Altair Community Member
    i appreciate that , thank you so much
  • wessel
    wessel New Altair Community Member
    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


  • na
    na New Altair Community Member
    i am so thankful