🚗 Vehicle Sales Predictor
Predict future vehicle sales like a pro.
This open-source project demonstrates how to build, track, and deploy a state-of-the-art machine learning pipeline — from raw data to actionable predictions. It uses modern MLOps tools like MLflow, DVC, and GitHub for reproducibility and collaboration.
✨ Features
-
🚀 End-to-End Pipeline: From raw data to predictions
-
🔄 MLOps: Track experiments with MLflow, version data with DVC, and sync code with Git
-
🌟 SOTA Model: Tuned XGBoost delivering high performance, adaptable to any tabular data project
-
🧠 Robust Feature Engineering: Industry-grade preprocessing & encoding practices
-
📈 Production-Ready: Modular design for training, inference, and deployment
🛠️ Setup
# Clone the repo
git clone https://github.com/hongyingyue/vehicle-sales-predictor.git
cd vehicle-sales-predictor
# Set up your virtual environment (recommended)
uv venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
# Install dependencies
uv pip install -r requirements.txt
🚀 Getting Started
Train your model:
cd examples
python run_train.py
Make prediction server with the trained model:
python app.py
Track your experiments
mlflow ui
Experiments
Metadata
Release files for vehicle-ml 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vehicle_ml-0.0.1.tar.gz | 17.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vehicle_ml-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.4 kB
Release files / vehicle_ml-0.0.1.tar.gz
| Download URL | vehicle_ml-0.0.1.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
959487ace9782378cba832f0f702b88d4f191f8adc5cccc8daca5beaca4c65c5
|
|
BLAKE2b-256 checksum How to use checksums |
7edd39c4954d50d71621321ee262f6aee6ae569b7b4bdd4049b33e73c0176083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|
Release files / vehicle_ml-0.0.1-py3-none-any.whl
| Download URL | vehicle_ml-0.0.1-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d79ceae51db684adabbd5db74c1df9e13fe0256074c83480e84f26003efc663
|
|
BLAKE2b-256 checksum How to use checksums |
ac855140892fd5ffd5ac1732c280a8c0d0f4c949b02c8b435db2e194d9fcc3a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|