RapidMiner 9.7 is Now Available

Lots of amazing new improvements including true version control! Learn more about what's new here.

CLICK HERE TO DOWNLOAD

Looping through a filter and save every iteration

MPB_MPB_ Member Posts: 43  Guru
edited November 2019 in Help
Hello,

I already searched the forum but the given processes seem to be outdated and not compatible with the most recent version of RM.

I have a big dataset with sales-data of many products, many supermarkets, many weeks....

I would like to loop thorugh a filter in a way that for every value of the column "UPC" (=Universal Product Code) a new exampleset is stored.
Is that possible?

My process looks like this:

<?xml version="1.0" encoding="UTF-8"?><process version="9.5.000">

Best Answers

  • tftemmetftemme Administrator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, RMResearcher, Member Posts: 141  RM Research
    Solution Accepted
    Hi @MPB_

    Just to add on this. If Lionel is right and you want to loop over every value of the column "UPC", you can use the operator Group Into Collection from the Operator Toolbox Extension (install it over the marketplace). This creates a collection with individual ExampleSets for each value of the column "UPC". You can use Loop Collection to iterator over the collection and store each ExampleSet individually.

    Best regards
    Fabian
    lionelderkrikorMPB_

Answers

  • MPB_MPB_ Member Posts: 43  Guru
    Hi Lionel, Hi Fabian,

    thank you so much for helping me. In the meantime I changed my process a little and with your suggestions, now everything works fine.

    Thank you again and have a very nice week,

    Best regards
    lionelderkrikorsgenzer
Sign In or Register to comment.