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
I want to loop on couples of attributes and create a new one given by an operation on them
erikapastorelli
Member Posts: 1 Learner I
Hi everyone! I've a problem on Rapidminer 5.Attached is my dataset.
From the fourth column over i have to generate a new attribute starting from the couple x-1,x-0, y-1,y-0.
For example A2A.MI-1 and A2A.MI-0 have to became a new attribute where I got the quotien between them.
How can i solve? I tried loop on attributed and script but I failed.
Thank you very much
Tagged:
0
Answers
Hi @erikapastorelli,
Here an example of process using Execute Python operator to perform what you want to do :
Here the Excel file with an extract of your dataset (which I used to create this process) :
https://drive.google.com/open?id=1s1AvmN0H_zZF3zgi0CnMlFPjar-qMxFD
I hope it helps,
Regards,
Lionel
NB : There is just a problem : after execution of the Python script, the date attribute is set to "?", and i don't know why....
NB2 : I thing it is possible to improve this Python script, to give more explicit name to the generated attributes.