You are viewing the RapidMiner Hub documentation for version 9.8 - Check here for latest version
RapidMiner provides an open source Python library that allows you to call RapidMiner AI Hub from Python. You can interact with the repository on RapidMiner AI Hub and run processes on its scalable infrastructure.
The following code snippet demonstrates how easy it is to access RapidMiner AI Hub using the library. To learn more, see the API documentation of the package on GitHub .
import rapidminer rm = rapidminer.Server("https://myserver.mycompany.com:8080", username="myrmuser") myinput = rm.read_resource("/home/myrmuser/myinput") training_dataset_sample = rm.run_process("/home/myrmuser/preprocess", inputs=[myinput])
Make sure you have the Python Scripting extension downloaded from the Marketplace and installed on RapidMiner AI Hub. Follow the Server specific installation instructions for the Python library. Note that you don't need a RapidMiner Studio installation locally to be able to interact with RapidMiner AI Hub directly from Python.
Read more: RapidMiner and Python