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 can I ignore a file based on the value range in a given attribute in it.

Kumar_AyushKumar_Ayush Member Posts: 7 Learner I
I have multiple files in the repository which I need to read first and then in each of there files there is a attribute called Time which has floating number value. I only want to read those files in which the max value of the Time attribute is between the range of 15 to 25.

Best Answer

  • Eden60Eden60 Member Posts: 7 Contributor II
    Solution Accepted

    To ignore files based on the value range of a specific attribute called "Time," you can iterate through each file in the repository. Retrieve the "Time" attribute from each file and keep track of the maximum value encountered. After checking all the files, determine if the maximum "Time" value falls within the desired range of 15 to 25. If it does, process the file; otherwise, ignore it.

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Hi,

    looks like you need to use List Repository Entrys and then filter by hand and use loop values. Something like this should be the solution.

    BR,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.