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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52a5ec646cf9cf70f3119fa0f296564814d9a6915c627285cb15586df0f88b94
|
|
| MD5 |
ef190fe68c72babe74b185f16ce49818
|
|
| BLAKE2b-256 |
36c5044e67e7dd9193208adad0268d434c560a84865da213916e2284ae9a585d
|
File details
Details for the file loan_risk_predictor-0.1.7-py3-none-any.whl.
File metadata
- Download URL: loan_risk_predictor-0.1.7-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e724b6d4cd5188a3109b5df097a20d0f2facdefc233ccaa13631077273f21191
|
|
| MD5 |
fc59058bafe3152b6c4169fcd349a0f5
|
|
| BLAKE2b-256 |
e2c7bdf8f19e8897134c737c2cc361e904c10c083830a932437c1637436650b1
|