Creating a sequence attribute

vahidmahmarvahidmahmar Member Posts: 1 Contributor I
Hi guys,

Just new to Rapidminer and quickly ran into something that i find trivial using other tools.

Generate attribute operator can be used to create new data, but I didnt manage to create some sequence based on a rule. For example if i want to add an attribute that runs from 1 to n for the number of examples. i.e. 1,2,3,4,...n (i=i+1). Or n,n-1,n-2,...0 for that matter.

Can I do this in RapidMiner or should I import this?

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,507 RM Data Scientist
    Hi,

    i think the easiest way is to use Generate ID for this

    ~Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.