[SOLVED]Add a rank column

texnoti
texnoti New Altair Community Member
edited November 2024 in Community Q&A
Hi all!

Just started with RapidMiner.
Got so far that I'm calculating what I want.
Ended up with this result:
38.898
42.052
43.455

Now, in the next step I only care about what place it is, so how do I add a column with 1, 2, 3?
It's not always three, it varies.

Kind regards
thomas
Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,

    Sort and Generate ID should do it.

    ~Martin
  • texnoti
    texnoti New Altair Community Member
    Hi, yes it did.
    But...

    now I'm trying with Loop Values and Filter because I got data as:
    1,23.256
    1,35.655
    2,56.899
    2,57.122

    Tried condition_class = attribute_value_filter but I get an error.
    How should I set up the filter to process 1's and 2's (and 3's, 4's and ...) separate?
  • texnoti
    texnoti New Altair Community Member
    Ok, got it!

    attribute=%{loop_value}

    Now it's just a matter of merge, right?

    Thanks!
  • MartinLiebig
    MartinLiebig
    Altair Employee
    propably,

    maybe you need to know that append also appends collections.

    Martin

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.