I want to create an attribute which contains the index (0,1,2,3,etc.) of the instances (in the same order as in the arff file). How do I do this in RapidMiner GUI?
Use the operator "IDTagging". Note that if you already have an attribute with role "id", it is going to replaced. To avoid this, change the role of id-attribute temporarily using the operator "ChangeAttributeRole".
Thank you... I just wanted to plot id/index on x-Axis and some values on y-Axis. I used ChangeAttributeRole operator to make it regular (otherwise it cannot be plotted).
Answers
Use the operator "IDTagging". Note that if you already have an attribute with role "id", it is going to replaced. To avoid this, change the role of id-attribute temporarily using the operator "ChangeAttributeRole".
hope this was helpful
regards,
Steffen
I used ChangeAttributeRole operator to make it regular (otherwise it cannot be plotted).
If you are as lazy as I am, you can use the series plotter, then you don't even need an Id column, and you can plot the labels etc..
Just my indolent two cents...