Question: Step 2 : Classification Models Using the code discussed in the lecture, split the data into training and testing data sets. Do not use TARGET
Step : Classification Models
Using the code discussed in the lecture, split the data into training and testing data sets.
Do not use TARGETLOSSAMT to predict TARGETBADFLAG.
Create a LOGISTIC REGRESSION model using ALL the variables to predict the variable TARGETBADFLAG
Create a LOGISTIC REGRESSION model and using BACKWARD VARIABLE SELECTION.
Create a LOGISTIC REGRESSION model and using a DECISION TREE and FORWARD STEPWISE SELECTION.
List the important variables from the Logistic Regression Variable Selections.
Compare the variables from the logistic Regression with those of the Random Forest and the Gradient Boosting.
Using the testing data set, create a ROC curves for all models. They must all be on the same plot.
Display the Area Under the ROC curve AUC for all models.
Determine which model performed best and why you believe this.
Write a brief summary of which model you would recommend using. Note that this is your opinion. There is no right answer. You might, for example, select a less accurate model because it is faster or easier to interpret.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
