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 do I get results percentage-wise
Hello,
I have an example set with words and the number how often the word appears in the example set.
For example:
I already sorted decreasing so I see the words which appear the most on top. (Process Document -> WordList to Data -> Sort)
Now I want to pick the words which appear more than 60% in the example set.
How is this possible?
Thanks for your help!
I have an example set with words and the number how often the word appears in the example set.
For example:
Now I want to pick the words which appear more than 60% in the example set.
How is this possible?
Thanks for your help!
0
Answers
To add percentage to your given example set use the "Generate Attribute" operator and add an attribute named "percentage". Let us assume you attribute with the word count is called "count" than your desired function expression is Please note that although you typically use %{examples} to access a macro, in this case you need to use the function "macro(...)" since the regular syntax is interfering with the parser of the function expression.
Best regards,
Marius