├── .gitignore ├── README.md ├── app.py ├── docs ├── project_description_poc_phase.md └── shap_analysis_summary_report.md ├── environment.yml ├── environment_macm1.yml ├── figures ├── dependency_plots.png ├── global_feature_importance.png ├── global_feature_importance_1.png ├── local_explainations1.png ├── local_explainations2.png ├── local_explainations3.png ├── sales_by_category.png ├── sales_vs_temperature.png └── shap_by_time.png ├── notebooks ├── 01_preprocessing.ipynb ├── 02_EDA.ipynb ├── 03_feature_engineering.ipynb ├── 04_modelling.ipynb └── 05_explain_model.ipynb ├── requirements.txt └── src ├── __init__.py ├── data_generator └── data_generator.py ├── data_loader ├── __init__.py └── loader.py ├── ui_builder ├── __init__.py ├── dashboard.py └── data_viz.py ├── ui_predictor ├── __init__.py └── prediction.py └── utils ├── plots.py ├── utils.py └── visualization_code.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/app.py -------------------------------------------------------------------------------- /docs/project_description_poc_phase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/docs/project_description_poc_phase.md -------------------------------------------------------------------------------- /docs/shap_analysis_summary_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/docs/shap_analysis_summary_report.md -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/environment.yml -------------------------------------------------------------------------------- /environment_macm1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/environment_macm1.yml -------------------------------------------------------------------------------- /figures/dependency_plots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/figures/dependency_plots.png -------------------------------------------------------------------------------- /figures/global_feature_importance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/figures/global_feature_importance.png -------------------------------------------------------------------------------- /figures/global_feature_importance_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/figures/global_feature_importance_1.png -------------------------------------------------------------------------------- /figures/local_explainations1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/figures/local_explainations1.png -------------------------------------------------------------------------------- /figures/local_explainations2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/figures/local_explainations2.png -------------------------------------------------------------------------------- /figures/local_explainations3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/figures/local_explainations3.png -------------------------------------------------------------------------------- /figures/sales_by_category.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/figures/sales_by_category.png -------------------------------------------------------------------------------- /figures/sales_vs_temperature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/figures/sales_vs_temperature.png -------------------------------------------------------------------------------- /figures/shap_by_time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/figures/shap_by_time.png -------------------------------------------------------------------------------- /notebooks/01_preprocessing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/notebooks/01_preprocessing.ipynb -------------------------------------------------------------------------------- /notebooks/02_EDA.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/notebooks/02_EDA.ipynb -------------------------------------------------------------------------------- /notebooks/03_feature_engineering.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/notebooks/03_feature_engineering.ipynb -------------------------------------------------------------------------------- /notebooks/04_modelling.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/notebooks/04_modelling.ipynb -------------------------------------------------------------------------------- /notebooks/05_explain_model.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/notebooks/05_explain_model.ipynb -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | # This file makes the src directory a Python package 2 | -------------------------------------------------------------------------------- /src/data_generator/data_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/src/data_generator/data_generator.py -------------------------------------------------------------------------------- /src/data_loader/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data_loader/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/src/data_loader/loader.py -------------------------------------------------------------------------------- /src/ui_builder/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ui_builder/dashboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/src/ui_builder/dashboard.py -------------------------------------------------------------------------------- /src/ui_builder/data_viz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/src/ui_builder/data_viz.py -------------------------------------------------------------------------------- /src/ui_predictor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ui_predictor/prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/src/ui_predictor/prediction.py -------------------------------------------------------------------------------- /src/utils/plots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/src/utils/plots.py -------------------------------------------------------------------------------- /src/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/src/utils/utils.py -------------------------------------------------------------------------------- /src/utils/visualization_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nguyenhads/sales_forecasting_xai/HEAD/src/utils/visualization_code.py --------------------------------------------------------------------------------