metadata
title: Product Return Prediction API
emoji: π
colorFrom: purple
colorTo: red
sdk: docker
pinned: false
Product Return Prediction
This repository contains a project designed for Armani to analyze past orders and returns, predicting which products are likely to be returned and when. The system supports logistics, product management, and marketing teams by providing actionable insights to reduce return rates, optimize inventory management, and improve customer satisfaction.
Project Organization
βββ LICENSE <- Open-source license if one is chosen
βββ Makefile <- Makefile with convenience commands like `make data` or `make train`
βββ README.md <- The top-level README for developers using this project.
βββ data
β βββ external <- Data from third party sources.
β βββ interim <- Intermediate data that has been transformed.
β βββ processed <- The final, canonical data sets for modeling.
β βββ raw <- The original, immutable data dump.
β
βββ docs <- A default mkdocs project; see www.mkdocs.org for details
β
βββ models <- Trained and serialized models, model predictions, or model summaries
β
βββ notebooks <- Jupyter notebooks. Naming convention is a number (for ordering),
β the creator's initials, and a short `-` delimited description, e.g.
β `1.0-jqp-initial-data-exploration`.
β
βββ pyproject.toml <- Project configuration file with package metadata for
β product_return_prediction and configuration for tools like black
β
βββ references <- Data dictionaries, manuals, and all other explanatory materials.
β
βββ reports <- Generated analysis as HTML, PDF, LaTeX, etc.
β βββ figures <- Generated graphics and figures to be used in reporting
β
βββ requirements.txt <- The requirements file for reproducing the analysis environment, e.g.
β generated with `pip freeze > requirements.txt`
β
βββ setup.cfg <- Configuration file for flake8
β
βββ product_return_prediction <- Source code for use in this project.
β
βββ __init__.py <- Makes product_return_prediction a Python module
β
βββ config.py <- Store useful variables and configuration
β
βββ dataset.py <- Scripts to download or generate data
β
βββ features.py <- Code to create features for modeling
β
βββ modeling
β βββ __init__.py
β βββ predict.py <- Code to run model inference with trained models
β βββ train.py <- Code to train models
β
βββ plots.py <- Code to create visualizations