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

Generate Attributes, support for function "choose"

tennenrishintennenrishin Member Posts: 177 Contributor II
edited June 2019 in Help
Can we request a function (that can be used, for example, in Generate Attributes) that generalizes 'if'?
choose(1,a,b,c)==a
choose(2,a,b,c)==b
choose(3,a,b,c)==c
with variable number of arguments

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Hm, do you have looping over attributes in mind? Would not be the Loop Attributes operator a valid choice then?
  • tennenrishintennenrishin Member Posts: 177 Contributor II
    Not really. I just think it can be a useful function for composing certain expressions, which is probably also why spreadsheets support it.
Sign In or Register to comment.