How to change an information of an attribute?

marcelolimabatimarcelolimabati MemberPosts:2Learner I
edited December 2018 inHelp

Hi Experts,

Hi Experts,

I'm starting to work with rapidminer and I need your help.
I've an database with 23 attributes and I need to change the information of attribute "outcome". This attribute "outcome" has the informations "Lived", "Died" and "Euthanized", in others words, after I read the csv file I'll need treat the database changing the informations of attribute "outcome".
I would like to change all information equal "Euthanized" to "Died". What operetors can I use?

Thanks in advance my friends.

Marcelo Batista

Tagged:

Best Answer

  • Pavithra_RaoPavithra_Rao Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:123RM Data Scientist
    Solution Accepted

    Hi@marcelolimabati

    You could easily achieve this using Replace Operator as shown below.

    Replace operator.pngReplace operator

    Below is the XML of the sample process for the same. Also here is how toImport XML-code to process

    Hope this helps,

    Cheers,





    <宏/ >



























    sgenzer
    Sign InorRegisterto comment.