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
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, 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