create index attribute

keyser84keyser84 Member Posts: 9 Contributor II
edited November 2018 in Help
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?


  • Options
    steffensteffen Member Posts: 347 Maven

    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


  • Options
    keyser84keyser84 Member Posts: 9 Contributor II
    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).
  • Options
    haddockhaddock Member Posts: 849 Maven
    Hi there,

    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...

Sign In or Register to comment.