TEAM
Hubble
Robert Gacki, Jinwoong Nam
![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)
Our objective for this project is to develop an algorithm that is capable of taking a list of user inputted recipe ingredients and classifying it into one of twenty cuisine types. The dataset consists of 39,744 unique recipes across all 20 cuisine types, with 6,714 unique ingredients.
After data cleaning, Term Frequency – Inverse Document Frequency (TF-IDF) Vectorization was performed, which is a fancy way of saying each ingredient was assigned a weighted value for each recipe. Then, we attempted three different methods for predicting cuisine types, with the goal being maximum accuracy of classification. Maximum accuracy was achieved with the Support Vector Machine (SVM) method, which classified recipes to their correct cuisine type 80.87% of the time.
This solution will allow for easy and efficient classification of all recipes submitted to the website, which will allow users to filter and search for the various cuisine types they are interested in.
![](https://static.wixstatic.com/media/a994932411404ef3bb797ba005125f5d.png/v1/fill/w_45,h_45,al_c,q_85,usm_0.66_1.00_0.01,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,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,enc_auto/a994932411404ef3bb797ba005125f5d.png)