Giter Club home page Giter Club logo

prognolite's Introduction

Restaurants face a big problem, that they don't know how many guests are coming the next day or next week. This leads to different problems like:

  • Foodwaste

  • high personnel costs

  • unhappy customers

Our team tried to solve this problem by forecasting the amount of people for noon and evening for a restaurant located in Zürich. This forecasts are afterwards displayed in an App for the kichen chef and the chef de service.

We took data from a reservation system as our brain how the demand was in the past. Together with influencing factors like holidays, weekdays, seasonality we calculated our forecasts. The output of those forecasts is being written in the API of Prognolite. The App, that we developed with an experienced designer connects to the Prognolite API calls the forecasts, weather icons and holidays and visualizes it. We found out that the predictions for the evening are much better than for noon and found the reason in employees who don't register all the walk-ins.

Team members:

Our App:

Presentation:

https://prezi.com/p/xyoae-scgimn/

prognolite

predicting restaurant visitors (open food hack days basel)

prerequisites

  • you will need docker

how to run the API server

docker run -p 8888:8888 -p 8081:8081 -v $(pwd):/code -e PASSWORD=yoursecretpass -d smizy/scikit-learn

This will provide a jupyter notebook on port 8888 of localhost (enter with the password "yoursecretpass")

For the (app) server to run, you need to sh into the newly created container (see docker ps) docker exec -ti <<container-name>> sh (replace <> by the name docker ps returns

then install some required packages: pip3 install flask flask-cors

start the server: python src/server.py

how to run the app

just open web/index.html from your local machine (via file path access). No web server required for prototyping

prognolite's People

Contributors

etiennesoguel avatar prognolite avatar

Watchers

 avatar  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.