File size: 3,205 Bytes
22c9d57
 
 
 
 
a9e18bc
22c9d57
 
 
142c780
 
 
 
 
 
 
22c9d57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
title: Product Return Prediction API
emoji: πŸƒ
colorFrom: purple
colorTo: red
sdk: docker
pinned: false
---

# Product Return Prediction

<a target="_blank" href="https://cookiecutter-data-science.drivendata.org/">
    <img src="https://img.shields.io/badge/CCDS-Project%20template-328F97?logo=cookiecutter" />
</a>


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
```

--------