yourmamaman

yourmamaman OP t1_j95w50p wrote

This took way more NLP than I anticipated.

Recipes that have similar ingredients are closer together. The idea was the take 3700 different recipes for pie, but understand how much variation there is in terms of their ingredients. So the algorithm will cluster recipes that have very similar ingredients and give them one color, and place the cluster in such a manner that clusters with very different ingredients are far away from each other.

​

Tools: NLTK, UMAP, HDBSCAN

​

e.g. Sugar dimension represents-> ['brown sugar', 'light brown sugar', 'cinnamon sugar', 'white sugar', 'powdered sugar']

3