Skip to content

Predict loan defaults using ML. Leverage Logistic Regression, Random Forest, XGBoost. Preprocess data, train models, analyze features. Make informed lending decisions. Jupyter Notebook and code.

License

Notifications You must be signed in to change notification settings

RobertRusev/ML-Loan-Default-Predictor

Repository files navigation

ML-Loan-Default-Predictor

Predict loan defaults using ML. Leverage Logistic Regression, Random Forest, XGBoost. Preprocess data, train models, analyze features. Make informed lending decisions. Jupyter Notebook and code.

Description

ML Loan Default Predictor is a machine learning project that aims to predict loan defaults using various algorithms such as Logistic Regression, Random Forest, and XGBoost. The project includes data preprocessing, model training, feature analysis, and making informed lending decisions based on the predictions. This repository contains the Jupyter Notebook and code for the project.

Installation

To use this project, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/ML-Loan-Default-Predictor.git
  2. Install the required dependencies: pip install -r requirements.txt

Usage

  1. Open the Jupyter Notebook file ML-Loan-Default-Predictor.ipynb.
  2. Run the cells in the notebook to execute the code step by step.
  3. Follow the instructions in the notebook to preprocess the data, train the models, and analyze the features.
  4. Make informed lending decisions based on the model predictions.

Data

The project utilizes a dataset containing loan information such as borrower details, loan amount, interest rate, credit score, employment history, etc. The data is provided in a CSV format and should be placed in the data directory of this repository.

Results

After running the notebook, you will obtain predictions for loan defaults using the different models. Analyze the results, including accuracy, precision, recall, and other relevant metrics. Visualize the results using appropriate plots and graphs.

Contributing

Contributions are welcome! If you want to contribute to this project, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with descriptive messages.
  4. Push your changes to your forked repository.
  5. Submit a pull request explaining your changes.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.

Authors

Acknowledgments

  • I would like to thank the contributors of the scikit-learn, XGBoost, and Pandas libraries for their valuable tools and resources.

About

Predict loan defaults using ML. Leverage Logistic Regression, Random Forest, XGBoost. Preprocess data, train models, analyze features. Make informed lending decisions. Jupyter Notebook and code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published