subject
Engineering, 22.04.2020 03:39 onewaydemon

Part 2. Finding the relationships hidden in the customer's online shopping data (10 points total) Visualizing correlations between customer's preferences on cameras and printers (2 points) Now that you understand a bit about the online shopping preference data, you want to check whether customer's preferences on buying cameras is correlated with their preferences on buying printers. *Make a joint plot to visualize the relationship of printer interest vs camera interest. * (camera on the x-axis and printer on the y-axis) Your plot should 1. include axis labels 2. use the seaborn plot style (you need to import the package and then "set" the style) 3. set the y-axis range between -5 and 50 # Put your code here Removing outliers to visualize detailed patterns of the correlations between camera and printer (3 points) As you can see in the joint plot, there is a cluster of data points with some pattern. But there are also some outliers with very high preferences on printers, which make it difficult to check the details within the cluster of data points. 1. Come up with your own criteria of classifying a data point as an outlier or not; 2. Use mask to filter out outliers; 3. Make a joint plot again on the subset of data, after removing outliers. Describe your criteria about outliers here: # Put your code here to remove outliers using masking: # Put your code here to make the joint plot: Visualize the relationship between customer's preferences on mathematics_books and coffee_maker (1 point) Make a joint plot to visualize the relationship between customer's preferences on mathematics_book and coffee_maker. (mathematics_book on the x- axis, coffee_maker on the y-axis) Your plot should 1. include axis labels 2. use the seaborn plot style # Put your code here: Question: based on the joint plot, do you observe any pattern/relationship between preferences on mathematics_books and coffee_makers? Your answer here: Conditioned on laptop preference, visualize correlations between mathematics_book and coffee_maker for subsets of customers (4 points) In data analysis, sometimes the pattern may not be immediately clear to see, such as the relationship between customer's preferences on mathematics_book and coffee_maker. In some cases, the power of big-data is to allow us to incorporate more entities into consideration, which can be helpful to delineate the subtle patterns hidden in the dataset Here, we want to have a closer look at the relationship between customer's preferences on mathematics_book vs. coffee_maker. But this time, we also include customer's preferences on laptops into our analysis. 1. Classify customers into 2 groups based on their preferences on laptops. Group 1: the customer's preference on laptop is higher than the mean preference on laptops. Group 2: all other customers. (Hint: use masking) 2. Make a joint plot to visualize the relationship between customer's preferences on mathematics_book and coffee_maker, only for customers in Group 1. 3. Make another joint plot to visualize the relationship between customer's preferences on mathematics_book and coffee_maker, only for customers in Group 2 4. Explain your observations and provide an interpretation on the observations, 5. If you are the seller, what is your strategy of sending coffee maker advertisements, based on customer's preference profiles? # Put your code here

ansver
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 19:30, 10040813
When using the ohmmeter function of a digital multimeter, the leads are placed in what position relative to the component being tested? a. parallel b. control c. series d. line
Answers: 3
image
Engineering, 04.07.2019 18:10, juansoto227711
Journeyman training is usually related (clo2) a)-to specific tasks b)-to cost analysis of maintenance task c)-to control process to ensure quality d)-to installation of machinery
Answers: 2
image
Engineering, 04.07.2019 18:20, yasyyas646646
Agas mixture consists of 8 kmol of h2 and 2 kmol of n2. determine the mass of each gas and the apparent gas constant of the mixture.
Answers: 3
image
Engineering, 04.07.2019 18:20, AnonymousLizard52303
A2-m rigid tank initially contains saturated water vapor at 100 kpa. the tank is connected to a supply line through a valve. steam is flowing in the supply line at 600 kpa and 300 c. the valve is opened, and steam is allowed to enter the tank until the pressure in the tank reaches the line pressure, at which point the valve is closed. a thermometer placed in the tank indicates that the temperature at the final state is 200°c. determine (a) the mass of steam that has entered the tank (b) the amount of heat transfer.
Answers: 3
You know the right answer?
Part 2. Finding the relationships hidden in the customer's online shopping data (10 points total) Vi...

Questions in other subjects:

Konu
Engineering, 05.12.2020 03:10