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.
FP-growth on marketing data
bernardo_pagnon
Member, University Professor Posts: 64 University Professor
Hello,
is it possible to apply FP-growth when the variables are polynomial? I am trying to apply the operator to this dataset, from the book Elements of Statistical Learning:
https://web.stanford.edu/~hastie/ElemStatLearn/
I am having issues because the variables are polynomial. Can FP-growth handle this data set?
Best,
Bernardo
is it possible to apply FP-growth when the variables are polynomial? I am trying to apply the operator to this dataset, from the book Elements of Statistical Learning:
https://web.stanford.edu/~hastie/ElemStatLearn/
I am having issues because the variables are polynomial. Can FP-growth handle this data set?
Best,
Bernardo
Tagged:
1
Best Answer
-
yyhuang Administrator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 364 RM Data ScientistYou may not have to re-code the numbers. But string "3" in income will be equivalent to the string "3" in age...
Suppose in the beginning, you have the numerical attributes loaded for marketing data, you can convert the values from numerical to polynominal. I would prefer to replace the nominal values "1","2","3" with the string values defined by data dictionary with "Map" or "Replace" operators
e.g. in gender1-> Male 2-> Female https://web.stanford.edu/~hastie/ElemStatLearn/datasets/marketing.info.txt
6
Answers
https://web.stanford.edu/~hastie/ElemStatLearn/datasets/marketing.data
https://web.stanford.edu/~hastie/ElemStatLearn/datasets/marketing.info.txt