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

Calculate difference between target value en predicted value

MirteMirte Member Posts: 7 Learner III
edited November 2018 in Help

I have a model with a target variable (type real) and a predicted variable.

I need an extra attribute in the result that calculates the absolute value of the difference from the predicted score and the actual score. How do I do this?  

 

The way I am doing it now is to save the results in an Excel file and add an extra column and then calculate the difference.  But I would  like to do it directly in RM.

Tagged:

Best Answer

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Solution Accepted

    Hi,

     

    the Generate Attribute operator is the operator you would like to use. The equation is something like

    [label] - [prediction(label)]

     

    where label is your target att.

     

    Cheers,

    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.