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
Counting occurrences of values
Hi! I want to count the number of times a certain value appears in an attribute and print it out for each value. I tried using the aggregate operator but I don't think it looks for and counts specific values. Also, I would really appreciate it if the answer could be posted with an explanation/screenshot of the actual process in RapidMiner instead of code.
0
Comments
Did you set the "Group by attributes" parameter ?
Regards,
Lionel
I used "group by attributes" to select the specific attribute where my values are. This only separates the entire attribute though. There are multiple values within this attribute -- I want to count the number of times each value occurs.
Please take a look at the process in attached file and tell me if it answers to your need...
If yes, adapt it to your process.
If not, please share your dataset and explain more explicitly what you want to achieve ...
Regards,
Lionel
Please copy the code here, and paste it in your XML panel and click on the green mark. (the process will appear in the main window) :
Regards,
Lionel
good luck !
Regards,
Lionel