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

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

Mike0985Mike0985 Member Posts: 9 Learner III
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

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 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
  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee-RapidMiner, 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.