Jupyter Notebook (python) assignments

Task 1:

using file attached: clothing_store.csv

You are given a dataset from a customer – a clothing store chain in New England. Your task is to develop a model that will maximize profits for direct-mail marketing (id est. a model that would identify customers who will respond to a direct-mail marketing promotion, based on information collected about the customers). However, it will not be sufficient just to derive the model with the most accurate predictions. You should also consider how the problem fits into the business goal of maximizing profits.

Be creative. Think of this task as a bigger project (might involve several directions, complex path towards the final goal). Provide in-depth solution. Simply applying any pre-built model from the library is not enough.

Support your decisions and intermediate/final solutions with performance metrics, graphs etc. Provide comments and conclusions, include Python code extracts and output into your final report in markdown PDF format.

Task 2:

using file attached: churn.txt

You have to do both R and Python coding. Upload your report including code, outputs, related tables and graphs with captions, discussion and conclusions in Jupyter notebook markdown format.

Use the churn data set. Filter out all variables except the following: VMail Plan, Intl Plan, CustServ Calls, and Churn. Set CustServ Calls to be ordinal. Allow the three predictors to be in either antecedent or consequent, but do not allow Churn to be in the antecedent.

Set the minimum antecedent support to 1%, the minimum rule confidence to 5%. Use rule confidence as your evaluation measure.

Find the association rule with the greatest lift.
Report the following for the rule in (a): Number of instances, Support %, Confidence %, Lift.

find the cost of your paper