disposedtrolley / salad-generator

Generating salads using flavour matching techniques

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

salad-generator

Generating salads using flavour matching techniques (i.e. how to choose ingredients for salads for the indecisive people).

Data is sourced from FlavorDB and licenced under Creative Commons.

Usage

Still a work in progress. Currently you can:

  • Preprocess JSON data files in the /data directory into tuples containing ingredient pairs and the number of common molecules.
  • Generate a NetworkX graph from the list of tuples.
  • Perform simple operations on the graph, like retrieving a node by the ingredient name and then returning the nearest neighbours of that node.
  • Traverse the ingredient graph to make a complete salad composition.

Run with Docker:

docker run -it disposedtrolley/salad-generator:canary

Todo

  • Improve CLI for traversal. User can select the starting ingredient and is asked to select from the next best pairings until a salad is complete.
  • Create GUI for traversal. Same as above but visual...

About

Generating salads using flavour matching techniques

License:The Unlicense


Languages

Language:Jupyter Notebook 88.7%Language:Python 11.3%Language:Dockerfile 0.1%