Concha finds the optimal amount of perishable goods to produce.
Project description
Concha
A machine learning system for how deciding many things to make each day.
Cafes, grocery stores, restaurants, donut shops, and panaderias face a fundamental question every morning: How many should I make?"
Concha uses data tracked by the point of sale service, combined with local weather conditions to learn demand patterns. Then it predicts how much to make of each product to maximize profit.
Concha can interface with Square to get the necessary sales history. It takes about 10 minutes to set up.
Try it out
You can run concha entirely on Google Colab (a free deep learning platform). Click here to use concha A "notebook" is a bunch of code blocks you can run one by one by clicking the play button in the upper left corner (or by clicking CTRL-ENTER).
If you want to do more than run simulations and use it to predict how much to make/order for each day, you can set it up to run from your Google Drive. Concha will write a file of predictions to your drive that you can open up with Google Sheets.
Making Predictions from Your Data
The first step is to save the Google Colab notebooks (a kind of Google Drive file that can run Python code) on your own drive. Then you can set up access to 1.) The NOAA weather data, and 2.) Your Square data (to get your sales history.) The "setup_do_once" notebook shows exactly how it works and automates the process. setup_do_once
Once you have setup access to your data and the weather, the model can learn from your sales history and predict the optimal quantity to produce by running code in the everyday notebook (you don't need to run it every day - predictions go out six days).
Local Installation
pip install concha
Package Layout
The source code is in /src/concha.
- planner.py defines the planner
- model.py defines the different estimators
- product.py defines product objects and methods. The code is documented thoroughly, and you can see many other many other settings that can be expirmented with to optimize production planning.
Note
This project has been set up using PyScaffold 3.2.3 and the dsproject extension 0.4. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for concha-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9eb246bed90071054f62550a5c6903479df135f9fa6890279c1b5b6e07c3bf3 |
|
MD5 | 4cbb03bcb442bfa573557a35a293c666 |
|
BLAKE2b-256 | 457a5fbef46dc7f442c26194e2f41fd9c4e98a8ff7ae270e6d365fa0a6a88bbb |