Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Calculating frequencies
Hi All
I need to calculate some frequencies.
Lets say I have an exampleSet with attributes Gender, Age and N. N is the number of people with a given gender and age. I need a new exampleSet with attributes Age and MaleFreq. Any easy method?
regards
Peter
I need to calculate some frequencies.
Lets say I have an exampleSet with attributes Gender, Age and N. N is the number of people with a given gender and age. I need a new exampleSet with attributes Age and MaleFreq. Any easy method?
regards
Peter
0
Answers
(From what I understand from your question the aggregations has already been done).
But how do I calculate MaleFreq? For a given age, It should be something like MaleFreq = N(Male)/(N(Male)+N(Female)). How is that possible?
You might also find the 'Aggregate' operator useful, curiously.
Hope so!