how to add attribute value from two differenent examplesets

LeiLei MemberPosts:12Learner I
I have two examplesets with the same rows. They all have the attribute, for example "temperature". Now I want to add "temperature" attributes from two examplesets, then use the results to modify the "temperature" attribute in first exampleset. Two exampleset have the ID attribute.

temperature in exampleset 1:
20
30

温度exampleset 2:
24
28

The result should be like:
temperature in exampleset 1:
44
58

Could someone tell me which operator I should use?
Thank you very much
Tagged:

Best Answer

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,404RM Data Scientist
    Solution Accepted
    Hi,
    i think you want to use a Merge Attributes operator first to create an example set like
    temperature_1, temperature_2
    20,24
    30,28

    Then you can just use Generate Attributes to create the new column. Merge Attributes is part of operator toolbox.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
    Sign InorRegisterto comment.