Coder Social home page Coder Social logo

shreeratn / predicting-credit-card-approval Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 45 KB

Build a machine learning model to predict if a credit card application will get approved.

Home Page: https://github.com/shreeratn/Predicting-Credit-Card-Approval

Jupyter Notebook 100.00%
python3 python sklearn sklearn-library logistic-regression logistic-regression-algorithm gridsearchcv gridsearch minmax-algorithm minmaxscaling

predicting-credit-card-approval's Introduction

Predicting Credit Card Approvals

Build a machine learning model to predict if a credit card application will get approved

Project Tasks

1. Credit card applications

Load the Dataset via pandas

2. Inspecting the applications

Check the various columns and their datatypes and trends

3. Handling the missing values (part i)

Using NumPy for dealing with missing values

4. Handling the missing values (part ii)

Dealing with NULLS

5. Handling the missing values (part iii)

Dealing with missing numerics and filling it with values

6. Preprocessing the data (part i)

Using sklearn's preprocessing Label Encoders for converting non-numeric values to numeric for faster calculations

7. Splitting the dataset into train and test sets

Using sklearn's Model selection for splitting dataset into train and test set

8. Preprocessing the data (part ii)

Using sklearn's MinMaxScaler for normalizing the dataset for faster computation

9. Fitting a logistic regression model to the train set

Using sklearn's Logistic Regression for prediction model

10. Making predictions and evaluating performance

Using confusion matrix to view our model's performance

11. Grid searching and making the model perform better

Using GridSearchCV with multiple variable parameter for better model

12. Finding the best performing model

Displaying the best parameter and its accuracy after gridsearch cv works into our test set

predicting-credit-card-approval's People

Contributors

shreeratn avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.