a. Explore Data b. Find statistics b. Apply cluster analysis/Time series analysis and other methods you learned on data
a. Classification using Decision Tree b. Classification using Naive Bayes c. Choose one another classification algorithm of your choice, apply and describe it d. Compare the results of the 3 techniques
Data Preparation and Pre-prediction Analysis
The first and foremost step of data mining process is to understand the data and identify the research question(s). Here are some suggestions to explore and understand datasets:
Look at the attribute type; e.g., categorical, ordinal or quantitative. Find max, min, mean and standard deviation of attributes. Determine any outlier values (records) for each of the attributes or attributes under consideration (min, max, std. dev, scatter plots, box plots or others can be used). Analyze the distribution of numeric attributes (normal or other). Plot histograms for attributes of concern and analyze whether they have any influence on the class Try to answer these questions by different visualization techniques: Which attributes seem to be most linked to the class attribute? Which attributes seem to be most linked to the class attribute? Which attributes do you think can be eliminated or included in the analysis? Determine whether the dataset has an imbalanced class distribution (same proportion of records of different types or not).
After an overall understanding about the dataset, you can use classification algorithms, Decision Tree and Naïve Bayes. Also, choose a classification algorithm of your own choice, explain it a at a high level and compare your results You will predict the class attribute by using each classification algorithm. Determine the right strategy for dataset split: simple training or testing, 10-fold cross validation, 3-fold cross validation, etc. Repeat the same process for Decision Trees, Naïve Bayes and the third classification algorithm of your choice. Determine your performance measures (accuracy, recall, etc.). Identify which algorithm performs well and in which settings.
State your major findings from different sections. State your recommendation to the company that they can put into place to solve their problem.
Select only one of the following datasets for your group and solve the problem for this company described for a particular dataset below. The class attribute of each dataset is highlighted.
NOTE: You can also select your own dataset by sharing the details with me. The procedure should be same, and you need to solve a classification problem.
Customer churn or customer attrition means the loss of customers for a company. The problem for customer churn is that the company would like to know in advance which customers would churn in near future. You are a member of a team of data scientists and the task of your team is to help this company in characterizing customer churn through data analytics methods. This dataset has 21 attributes including a binary class attribute about churn. The descriptions of the attributes are given below:
- State: Customer’s state.
- Account Length: Integer number showing the duration of activity for customer account.
- Area Code: Area code of customer.
- Phone Number: Phone number of customer.
- Inter Plan: Binary indicator showing whether the customer has international calling plan.
- VoiceMail Plan: Indicator of voice mail plan.
- No of Vmail Mesgs: The number of voicemail messages.
- Total Day Min: The number of minutes the customer used the service during day time (continuous quantitative data type).
- Total Day Calls: Discrete attribute indicating the total number of calls during day time.
- Total Day Charge: Charges for using the service during day time (continuous data type).
- Total Evening Min: The number of minutes the customer used the service during evening time.
- Total Evening Calls: The number of calls during evening time.
- Total Evening Charge: Charges for using the service during evening time.
- Total Night Min: Number of minutes the customer used the service during night time.
- Total Night Calls: The number of calls during night time.
- Total Night Charge: Charges for using the service during night time.
- Total Int Min: Number of minutes the customer used the service to make international calls.
- Total Int Calls: The number of international calls.
- Total Int Charge: Charges for international calls.
- No of Calls Customer Service: The number of calls to customer support service.
- Churn: Class attribute with binary values (True for churn and False for not churn).