TEAM
Gordon Ramsey
Ronak Desai, Kalven Bonin, Shidhesh Supekar
![clear.png](https://static.wixstatic.com/media/55f531_b9f3f13ce3aa4af78af2cc6d3563b81b~mv2.png/v1/fill/w_3,h_3,al_c,lg_1,q_85,enc_auto/clear.png)
Is it possible to classify a recipe’s cuisine type just from a list of
ingredients? Our project seeks to answer this question and
does so using some basic tools of Natural Language Processing.
We take a dataset from Kaggle.com that has a list of ~40,000
recipes with a cuisine type classification. One method we
employ is called a Bag of Words (BoW) model which take all
words found in the ingredients list and builds a classifier based
on the occurrences of those words in the training set. The other
method is the Term Frequency-Inverse Document Frequency
(TF-IDF) which considers the frequencies of individual words in
the training set. Both methods produced a testing accuracy of
greater than 60%, which is good considering that we
implemented the most naïve NLP models.
![](https://static.wixstatic.com/media/a994932411404ef3bb797ba005125f5d.png/v1/fill/w_45,h_45,al_c,q_85,usm_0.66_1.00_0.01,blur_3,enc_auto/a994932411404ef3bb797ba005125f5d.png)
![](https://static.wixstatic.com/media/a994932411404ef3bb797ba005125f5d.png/v1/fill/w_45,h_45,al_c,q_85,usm_0.66_1.00_0.01,blur_3,enc_auto/a994932411404ef3bb797ba005125f5d.png)
![](https://static.wixstatic.com/media/a994932411404ef3bb797ba005125f5d.png/v1/fill/w_45,h_45,al_c,q_85,usm_0.66_1.00_0.01,blur_3,enc_auto/a994932411404ef3bb797ba005125f5d.png)