FPgrowth on marketing data
bernardo_pagnon
Member, University Professor Posts: 60 University Professor
Hello,
is it possible to apply FPgrowth 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 FPgrowth handle this data set?
Best,
Bernardo
is it possible to apply FPgrowth 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 FPgrowth handle this data set?
Best,
Bernardo
Tagged:
1
Best Answer

yyhuang Administrator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 363 RM Data ScientistYou may not have to recode 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