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
- Your hospital has recently revised its CQI vision and aims based on the work done on the Quality Chasm series. As nurse manager in an ED (Emerg
- You have been hired by the Regional Real Estate Company to help them analyze real estate data. One of the company’s Pacific region salespeople
- You are working in a hospital, and a group of nurses have become vocal about the working conditions. The nurses are from different units in the
- Write a 3- to 5-page paper in which you analyze a computer ethics cases. Read the article entitled, ‘Your Botnet is My Botnet: Analysis of a B
- Why is it important for the organization to view all components of staffing (recruitment, selection, employment) from the perspective of the jo