Skip to content

disposedtrolley/salad-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published