Question: ## 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!