You are viewing the RapidMiner Hub documentation for version 9.10 -Check here for latest version
Python API
RapidMiner provides anopen source Python librarythat allows you to call RapidMiner AI Hub from Python. You can interact with the repository on RapidMiner AI Hub and run processes on itsscalable 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 thepackage 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])
确保你有Python Scripting extensiondownloaded from the Marketplaceand installed on RapidMiner AI Hub. Follow theServer specific installation instructionsfor 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