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

Is there a way to show and hide an OutputPort depending on a boolean Parameter?

jan_engelhardt_jan_engelhardt_ Member Posts: 1 Learner I
edited December 2018 in Help
Hello RM Community,

I am developing a machine learning operator for RapidMiner.
I wonder whether there is a way to show and hide an OutputPort depending on a boolean Parameter?

Kind regards
Jan

Answers

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Thats rather @jczogalla .
    PortExtender are doing this in someway.. So maybe one can build a logic like it?
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • jczogallajczogalla Employee-RapidMiner, Member Posts: 144 RM Engineering

    in general, ports cannot be just hidden. They have to be added/removed from the operator which may influence the rest of the operators behavior and may cause side effects. Having said that, if that special port is always the last port and there are no port extenders (for example through ports like on the log or loop operators), you could theoretically add an observer to the parameters of your operator that will add/remove the special port.
    Another way to go about this might just be to create different meta data depending on the parameter.
    Can you tell us a bit more what you want to do specifically?

    Cheers
    Jan
Sign In or Register to comment.