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

how to add attribute value from two differenent examplesets

LeiLei Member Posts: 12 Learner 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

temperature in 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, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM 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 In or Register to comment.