Make sure all your code is in functions. 1. Preprocess the customer data https://www.kaggle.com/carrie1/ecommerce-data Links to an external site. or https://www.kaggle.com/datasets/imakash3011/customer-personality-analysi Links to an external site. How are you handling nulls? What process(es) are you using to encode and normalize the data? 2. Perform k-means on this dataset for customer segments. Customer segments help determine what types of people buy your product, which allows you to target more people like your usual customers. Should you look at all the data, or which subset of data should you use? What is the ideal number of clusters? Which approach did you use to find the ideal number of clusters and why? 3. Perform hierarchical clustering for customer segments. What is the ideal number of clusters? Which approach did you use to find the ideal number of clusters and why? 4. Compare the results of 2 and 3. Which approach do you think is best? Why?
Recent Posts
- Depression, Anxiety, Substance Use, and Chronic Pain
- The Nuremberg trials at the close of WWII offered disturbing questions. How can “good” people in traditionally honor-bound professions become complicit in some of the worst violations of humanity in history?
- Compare and contrast the different feminist theories and frameworks
- You are a member of a committee at work looking to inform their employees about a new campaign focused on the importance of exercise and healthy choices
- Write a 1,250-1,500-word final draft of your health care research paper