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 add value to an attribute with a logical condition up to a percentage of the ExampleSet

OlavoOlavo Member Posts: 1 Learner II
edited June 2019 in Help
Dear friends,I need to add a new attribute that should have two distinct values "open" and "closed" depending on two conditionals. First the value of another nominal attribute will be analyzed. Second it must obey a percentage established for "closed". Example: If the attribute has the value "industry" and the total of examples is not greater than 86% the value will be "closed" else "open". How can I implement these conditions in Rapidminer? I analyzed the "Generate Attributes" operator but I do not think it's the way.
Tagged:

Answers

  • Telcontar120Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    Is the percentage based on the count of the distinct values compared to the total number of examples?  Assuming so, you probably first want to use Aggregate to generate a table of those percentages.  Then you can use Join to bring in that percentage as a new attribute, at which point you can use Generate Attributes with some compound logic in an If statement.  
    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.