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

Reversing Normalization: How?

Stefan_EStefan_E Member Posts: 53 Maven
edited November 2018 in Help
Hi all,

I'm doing regression models (LinReg, PCA, epsilon-SVM, ..); hence it is common practice to normalize the data set. But I'd like to get the prediction in the original coordinate set.

Since normalization is just a linear transformation, this is obviously easy.... if RM reveals what exactly it has done.... Is there an operator which can take a preprocessor model to reverse the transformation?

Thanks for your help!              Stefan

PS: the GUI of v5.0 is a big step forward - still some rough eges here and there, but now I spend my time thinking about what my data is telling me, rather than trying to figure out how to tame RM! Thanks a lot! Great job!

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    since it's a linear transformation most regression methods simply don't care if data has been normalized, but this only as a small remark.
    You could take a look at the normalization model, there should be noted, which parameter it is using. But there's no operator for inverting this. At least not until now...

    Thank you very much for your kind words, if you have any suggestions feel free to give any hints what we could do better :)

    Greetings,
      Sebastian
  • Stefan_EStefan_E Member Posts: 53 Maven
    Hi Sebastian,

    implicitly, you said if of course: most regression methods simply don't care if data has been normalized:
    Certainly SVM cares (which is also in line with the web page on LibSVM).

    Stefan
  • CleoCleo Member Posts: 44 Maven
    One of the outputs of the normalize operator is the original example set.  Maybe you could try to merging the original data set with the prediction using a Join operator.  (I suspect you will have to unselect the "remove double attributes").

    Hopefully this will help. 

    Also I agree the new interface in RM 5 is fantastic.

    Cheers,
    Cleo
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Cleo,
    thanks for this kind works, too. I will tell my colleges :)

    About the idea with joining: This would work if the normalization uses a view. Otherwise the underlying data is changed and I guess, the original example set will exactly look like the normalized...You could afterwards materialize the normalized example set, which will create a full copy in memory (or do it before and normalize it using an IOMultiplier)
    Before joining you might filter out all attributes except the id and the prediction. Then you would not need to uncheck remove double attribute.

    Greetings,
      Sebastian
Sign In or Register to comment.