Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 2: Classification Models
Using the code discussed in the lecture, split the data into training and testing data sets.
Do not use TARGET_LOSS_AMT to predict TARGET_BAD_FLAG.
Create a LOGISTIC REGRESSION model using ALL the variables to predict the variable TARGET_BAD_FLAG
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

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions