Options

Replace; getting original and changed values

amotleyamotley Member Posts: 17 Contributor II
edited November 2018 in Help

I am using the replace dictionary operator to standardize some domain values within my data set. However, is there a way to also get the original value and the changed value as an output??

 

Thanks!

Answers

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,517 RM Data Scientist

    Hi amotley,

     

    you can simply you the original data back on the resulting table.

     

    ~Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    bhupendra_patilbhupendra_patil Administrator, Employee, Member Posts: 168 RM Data Scientist

    If I am understanding this well then, What I can suggest is duplicate the original column first, and then do you replace etc on one of those two columns

    You can use the "generate copy" operator which makes a copy or  a  "generate attributes" to create a duplicate column where the expression will be just the column you want to duplicate.

     

    let us know if we misunderstood the question

Sign In or Register to comment.