Use a formular on Results

christianchristian Member Posts: 2 Contributor I
edited November 2018 in Help

Hey Rapiminers,

 

I m looking for some help. I wonna use a use a formular on the result values like Excel. Here an examle for easier understanding.

 

Label Result

4.5

3.5

 

Example Value

3

5

 

Formular

If value "Label Result" is ">" than "Example Value" than set True else Wrong

 

Table example

Label Result | Example Value | Formular

4.5 | 3 | True

3.5 | 5 | Wrong

 

Thanks for helping

 

Best

Chris

 

 

Best Answers

  • Thomas_OttThomas_Ott Posts: 1,761   Unicorn
    Solution Accepted

    You could use the Generate Attribute operator. It allows the use of If/Then statements and calculations. 

  • mschmitzmschmitz Posts: 2,078  RM Data Scientist
    Solution Accepted

    Hi Christian,

     

    nice to have you on board! 

     

    A simple Generate Attributes should do the trick. Works pretty similar to Excel. Maybe you want to use a set role operator in the after math.

     

    ~Martin

    - Head of Data Science Services at RapidMiner -
    Dortmund, Germany

Answers

  • christianchristian Member Posts: 2 Contributor I

    Wow, that was a quick answer. 

     

    mschmitz and Thomas_Ott thanks for your help.

Sign In or Register to comment.