RapidMiner

RapidMiner

Use a formular on Results

SOLVED
Contributor

Use a formular on Results

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

 

 

See more topics labeled with:

3 REPLIES
Highlighted
Community Manager

Re: Use a formular on Results

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

Regards,
T-Bone
Twitter: @neuralmarket
RMStaff

Re: Use a formular on Results

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
Contributor

Re: Use a formular on Results

Wow, that was a quick answer. 

 

mschmitz and Thomas_Ott thanks for your help.