GithubHelp home page GithubHelp logo

sandy4321 / kaggle_m5_forecasting-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from x46359/kaggle_m5_forecasting

0.0 1.0 0.0 2.63 MB

My first Kaggle competition "m5_forecasting"

License: MIT License

Python 100.00%

kaggle_m5_forecasting-1's Introduction

m5_forecasting

==============================

Project Caveats

  • This is my first ever competition and github repo ... so be critical. I know a lot of mistakes were made so constructive criticism/feedback is much appreciated.
  • There are a lot of areas for improvement. The MAIN objective of this was for me to learn.
  • Thanks in advance!

Project Overview

Run order:

python ./src/group_level.py 
python ./src/item_level.py
python ./src/final_scale.py

Project Organization


├── LICENSE
├── README.md                   <- The top-level README for developers using this project.
├── data
│   ├── processed               <- The final, canonical data sets for modeling.
│   └── raw                     <- The original, immutable data dump.
│
├── models                      <- Trained and serialized models, model predictions, or model summaries
│
├── requirements.txt            <- The requirements file for reproducing the analysis environment, e.g.
│                                  generated with `pip freeze > requirements.txt`
│
├── setup.py                    <- makes project pip installable (pip install -e .) so src can be imported
├── src                         <- Source code for use in this project.
│   ├── __init__.py             <- Makes src a Python module
│   │
│   ├── data                    <- Scripts to download or generate data
│   │   └── etl.py              <- Tranforms raw data, creates lag variables, applies SMOTE for imbalanced data
│   │
│   ├── models                  <- Scripts to train models and then use trained models to make
│   │   │                          predictions
│   │   ├── predict_model.py    <- Make predictions using defined model parameters
│   │   ├── train_model.py      <- Hyperparameter runing using RandomizedSearchCV
|   |   └── lstm_class.py       <- Work in progress. Attempt to incorporate/learn LSTM.
|   |
|   ├── paths.py                <- Generates relative file paths
|   ├── group_level.py          <- Creates forecasts for group/strata (@ state, store, category, and department levels)
|   ├── item_level.py           <- Creates forecasts for all items
|   ├── final_scale.py          <- Hierarchical scaling (state --> state/store --> state/store/category --> 
|   |                              state/store/category/dept --> item
|   ├── compare_models.py       <- Work in progress. Wanted to learn LSTM and see if it produced better results. Will need 
                                   gpu to run this module. Even then, it'll take a significant amount of time.

Project structure based on trimmed version of cookiecutter data science project template. #cookiecutterdatascience

kaggle_m5_forecasting-1's People

Contributors

x46359 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.