The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

RapidMiner Python API for Individual Operators

winnwinn Member Posts: 11 Learner I
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

  • winnwinn Member Posts: 11 Learner I
    @tkenez Since you are a Python expert. Any idea on this?
  • tkeneztkenez Employee-RapidMiner, RapidMiner Certified Expert, Member Posts: 22 RM Product Management
    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!
Sign In or Register to comment.