RapidMiner Python API for Individual Operators

winn
winn New Altair Community Member
edited November 5 in Community Q&A
Looking at RapidMiner Python Scripting documentation here: https://docs.rapidminer.com/latest/developers/python/ and the implementation in Studio: https://github.com/rapidminer/python-rapidminer/blob/master/docs/api/Studio.md, I can see that RapidMiner has mainly 3 APIs to integrate with Python: read_resource, write_resource and run_process. 
I am wondering if there is an an API to execute only specific operators using Python script. For example, if I want to run only Read CSV operator or Decision Tree operator without creating it as a process?

Answers

  • winn
    winn New Altair Community Member
    @tkenez Since you are a Python expert. Any idea on this?
  • tkenez
    tkenez New Altair Community Member
    Hi there,

    The unit of execution in the RapidMiner world are processes, so that unit of execution is supported on the Python API as well.
    You always have to create a process (in your case a single-operator one if that's what you need) and interact from Python code via the run_process method.

    Why would this be important in your use case? Or do you find this too cumbersome? I'm really curious.

    Thanks!