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 pts
Drop Gender, LoanID 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, XtrainscXtestsc to save XtrainXtest for later.
TrainTest with a split and stratify on Gender.
Remember to drop outliers from ApplicantIncomeCoapplicantIncome 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 valuecounts
Remember to scale the data without violating data leakage
Create your Classifier with at least 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
