how to add attribute value from two differenent examplesets
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
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:
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,404RM Data ScientistHi,i think you want to use a Merge Attributes operator first to create an example set like
temperature_1, temperature_220,2430,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, Germany0