YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

SUML - Car Price Prediction

Machine Learning course project at PJATK. Predicts used car prices using AutoGluon ensemble models.

Setup

Clone from Hugging Face

This repository is hosted on Hugging Face Hub to handle large model and data files.

# Install git-lfs (required for large files)
# Ubuntu/Debian: sudo apt install git-lfs
# Fedora: sudo dnf install git-lfs
# macOS: brew install git-lfs
# Windows: Download from https://git-lfs.com

git lfs install
git clone https://huggingface.co/bunny501/SUML
cd SUML

Alternatively, use the Hugging Face CLI:

pip install huggingface_hub
huggingface-cli download bunny501/SUML --local-dir ./SUML
cd SUML

Install Dependencies

python -m venv .venv

# Linux/macOS:
source .venv/bin/activate

# Windows:
.venv\Scripts\activate

pip install -r requirements.txt

Running the App

streamlit run App/main.py

Project Structure

SUML/
β”œβ”€β”€ App/                          # Streamlit web application
β”‚   β”œβ”€β”€ main.py                   # Main UI - form inputs and prediction display
β”‚   β”œβ”€β”€ inference.py              # Model loading and prediction logic
β”‚   β”œβ”€β”€ feature_defaults.json     # Default feature values (dataset averages)
β”‚   β”œβ”€β”€ make_model_mapping.json   # Car make/model dropdown data
β”‚   └── column_value_ranges.json  # Valid ranges for input validation
β”‚
β”œβ”€β”€ AutogluonModels/              # Trained model files (WeightedEnsemble_L2)
β”‚
β”œβ”€β”€ Data/                         # Datasets
β”‚   β”œβ”€β”€ Cleaned_train.csv         # Main training dataset
β”‚   β”œβ”€β”€ sales_ads_train.csv       # Raw training data
β”‚   β”œβ”€β”€ sales_ads_test.csv        # Raw test data
β”‚   └── synthetic_*.csv           # Synthetic data (MostlyAI, SDV)
β”‚
β”œβ”€β”€ src/                          # Source modules
β”‚   └── Autogluon.py              # Model training configuration and utilities
β”‚
β”œβ”€β”€ Notebooks/                    # Jupyter notebooks
β”‚   β”œβ”€β”€ EDA.ipynb                 # Exploratory data analysis
β”‚   └── ValueRangeExtraction.ipynb
β”‚
β”œβ”€β”€ Predicting-and-Analyzing.../  # Reference project with XGBoost experiments
β”‚   β”œβ”€β”€ DataCleaning.ipynb
β”‚   β”œβ”€β”€ DataExploration.ipynb
β”‚   β”œβ”€β”€ Prediction.ipynb
β”‚   └── ...
β”‚
β”œβ”€β”€ DatasetCleanUpPreparation.py  # Data preprocessing script
β”œβ”€β”€ requirements.txt              # Python dependencies
└── README.md

Training a New Model

source .venv/bin/activate
python -c "from src.Autogluon import run_exploration; run_exploration()"

Features

The model uses:

  • Basic info: year, mileage, condition, body type, doors
  • Engine specs: fuel type, power (HP), engine size, transmission, drivetrain
  • 20 equipment features: leather, heated seats, AC, cruise control, alloy wheels, LED lights, parking sensors, GPS, Bluetooth, etc.
  • Standard features (auto-assumed): ABS, airbags, central locking, power steering
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support