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

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?

Answers

  • steffensteffen Member Posts: 347 Maven
    Hello,

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