Creating a sequence attribute

vahidmahmar
vahidmahmar New Altair Community Member
edited November 2024 in Community Q&A
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?
Tagged:

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,

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

    ~Martin