Skip to main content

Forecasting Vehicle Sales with XGBoost: A Modern Approach to Predictive Modeling

Project description

🚗 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

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

vehicle_ml-0.0.1.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

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

vehicle_ml-0.0.1-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file vehicle_ml-0.0.1.tar.gz.

File metadata

  • Download URL: vehicle_ml-0.0.1.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for vehicle_ml-0.0.1.tar.gz
Algorithm Hash digest
SHA256 959487ace9782378cba832f0f702b88d4f191f8adc5cccc8daca5beaca4c65c5
MD5 9b54a2b499f8be1b587c560764857b9e
BLAKE2b-256 7edd39c4954d50d71621321ee262f6aee6ae569b7b4bdd4049b33e73c0176083

See more details on using hashes here.

File details

Details for the file vehicle_ml-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: vehicle_ml-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for vehicle_ml-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d79ceae51db684adabbd5db74c1df9e13fe0256074c83480e84f26003efc663
MD5 a5a9d8847548d6455fbbe8d1d40a0b58
BLAKE2b-256 ac855140892fd5ffd5ac1732c280a8c0d0f4c949b02c8b435db2e194d9fcc3a0

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