Categories

Versions

You are viewing the RapidMiner Server documentation for version 9.6 - Check here for latest version

Python API

RapidMiner provides an open source Python library that allows you to call RapidMiner Server from Python. You can interact with the repository on RapidMiner Server and run processes on its scalable infrastructure.

The following code snippet demonstrates how easy it is to access RapidMiner Server 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 Server. Follow the Server specific installation instructions for the Python library. Note that you don't need a Studio installation locally to be able to interact with Server directly from Python.

Read more: RapidMiner and Python