Skip to main content

A package to predict loan risk using a decision tree model.

Project description

Loan Risk Predictor

A Python package to predict loan default risk based on applicant data. This project is built from a Kaggle notebook and structured as an installable PyPI package.

Features

  • Data preprocessing including cleaning, encoding, and scaling.
  • A Decision Tree classification model for risk prediction.
  • A simple pipeline to load data and train the model.

Installation

You will be able to install this package from PyPI:

pip install loan-risk-predictor

How to Use

After installation, you can run the training pipeline directly from the command line:

python -m loan_risk_model.train

Project Structure

loan-risk-predictor/ │ ├── loan_risk_model/ │ ├── data/ │ │ └── training.csv │ ├── init.py │ ├── data_preprocessing.py │ ├── model.py │ └── train.py │ ├── notebooks/ │ └── Your-Kaggle-Notebook.ipynb │ └── ... (packaging files)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loan_risk_predictor-0.1.7.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

loan_risk_predictor-0.1.7-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file loan_risk_predictor-0.1.7.tar.gz.

File metadata

  • Download URL: loan_risk_predictor-0.1.7.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for loan_risk_predictor-0.1.7.tar.gz
Algorithm Hash digest
SHA256 52a5ec646cf9cf70f3119fa0f296564814d9a6915c627285cb15586df0f88b94
MD5 ef190fe68c72babe74b185f16ce49818
BLAKE2b-256 36c5044e67e7dd9193208adad0268d434c560a84865da213916e2284ae9a585d

See more details on using hashes here.

File details

Details for the file loan_risk_predictor-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for loan_risk_predictor-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e724b6d4cd5188a3109b5df097a20d0f2facdefc233ccaa13631077273f21191
MD5 fc59058bafe3152b6c4169fcd349a0f5
BLAKE2b-256 e2c7bdf8f19e8897134c737c2cc361e904c10c083830a932437c1637436650b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page