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.2.1.tar.gz (3.8 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.2.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: loan_risk_predictor-0.2.1.tar.gz
  • Upload date:
  • Size: 3.8 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.2.1.tar.gz
Algorithm Hash digest
SHA256 82051bdd74d30e0266ab93c29f4ff8d581287d25a21678662fdb3b81eaac598b
MD5 904ae2a1605cfc8f1d8488b9d484ca01
BLAKE2b-256 81fa5d679452c915c37cada7bf10626abc7105adba05ce447bc7f9df369f3f1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for loan_risk_predictor-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24ec383f2474d391064a4b161524bd160d624c6f8fefd020bec3ef6d722e9d07
MD5 6bf00273935261899cdc0d9472da23fa
BLAKE2b-256 3ccc52ae7444dd15b8255d1e0b964576601df8b9f7bb9e61567f8ac59ed1b365

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