The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 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.
Options

How to fix the loss of attribute sorting / reordering after applying an ML operator?

Mike0985Mike0985 Member Posts: 9 Contributor I
Dear all,

I have a reordering and sorting of attributes in my process before applying a machine learning model. When I run the process, I will lose the reordering & sorting directly after the machine learning model operator, e.g. Naive Bayes. I also had the same issue with the normalization operator. For now, I put the reorder & sort operator off the process but I still need them.

How can I fix this issue?

Kind regards
Michael

Best Answers

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,525 RM Data Scientist
    Solution Accepted
    Hi Michael,

    keep in mind that the order of attributes does not matter in rapidminer. Unlike other tools we identify our columns by name, not by position. The only reason to order them is usually data export. You can then use the Reorder Attributes operator for that.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Solution Accepted
    Hi Michael,

    if you need the data in the original order and attribute order, create a copy with Multiply and then join the later results to that table. This should mostly keep the data in order and add the new columns at the end.

    Regards,
    Balázs

Answers

Sign In or Register to comment.