Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

## First, Create a Multilayer Perceptron Classifier ( Neural Network ) to classify loans as accepted or rejected ( Y or N ) . (

## First, Create a Multilayer Perceptron Classifier (Neural Network) to classify loans as accepted or rejected (Y or N).(15 pts)
- Drop Gender, Loan_ID, and Missing Values before training.
- We will inspect Gender after training, so be careful how you drop it before training and testing.
- Hint: Wait until scaling and create new variable name, `X_train_sc`,`X_test_sc`, to save `X_train`,`X_test` for later.
- Train/Test with a 80/20 split and stratify on Gender.
- Remember to drop outliers from `ApplicantIncome`,`CoapplicantIncome`, and `LoanAmount`.
- Remember to create integer dummies for categorical variables.
- Even if a variable is numeric, it may still just be a category. Check with `.value_counts()`
- Remember to scale the data without violating data leakage
- Create your Classifier with at least 3 Layers. You are free to choose how many nodes are in each layer.
- To the best of your ability, search for a stable model. You will not be graded on model performance.
- Display the Confusion Matricies for both the Train and Test sets.
- Display the Feature Importance for the Training set. Is this expected?
- Comment on the Stability of the Model.

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_2

Step: 3

blur-text-image_3

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions