Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

chrome-extension://gbkeegbaiigmenfmjfclcdgdpimamgkj/views/app.html python code send to me Question 1 Create a data frame that contains all the data from Customer.xlsx (1 mark) Question 2 Count the

chrome-extension://gbkeegbaiigmenfmjfclcdgdpimamgkj/views/app.html python code send to me

Question 1 Create a data frame that contains all the data from Customer.xlsx (1 mark)

Question 2 Count the number of customers who made payment via credit card, cheque and cash. (2 marks)

Question 3 Plot a graph with different payment methods. Y-axis should represent the different types of payment methods, X-axis as Number of Customers. The title of the graph should be "Payment Methods" (2 marks)

Question 4 Drop all rows with missing value(s)

Question 5 Normalize LastTransaction values to a range of 0 to 1

Question 6 Replace the following values of Payment method (2 marks) 0-credit card 1-cheque 2-cash

Question 7 You are required to create a prediction model to predict churn based on GaussianNB model using the dataset that you have preprocessed until question 6. The training size is 80% and testing is 20%. Use split validation to validate your model.(5 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Does every subspace have a complement?

Answered: 1 week ago

Question

1. What might have led to the misinformation?

Answered: 1 week ago

Question

2. How will you handle the situation?

Answered: 1 week ago