Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gaizkiaadeline/cookpal-tfidf
App Recommendation for Food Recipes Based on a List of Ingredient using Term Frequency–Inverse Document Frequency (TF-IDF)
https://github.com/gaizkiaadeline/cookpal-tfidf
Last synced: 1 day ago
JSON representation
App Recommendation for Food Recipes Based on a List of Ingredient using Term Frequency–Inverse Document Frequency (TF-IDF)
- Host: GitHub
- URL: https://github.com/gaizkiaadeline/cookpal-tfidf
- Owner: gaizkiaadeline
- Created: 2024-07-26T15:36:03.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-17T01:50:44.000Z (22 days ago)
- Last Synced: 2024-10-19T03:26:33.447Z (20 days ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# COOKPAL Recipe Recommendation System
This project provides a recipe recommendation system that suggests recipes based on the ingredients you have. By analyzing a dataset of recipes, the program computes the similarity between the ingredients you input and those in the dataset to recommend the most relevant dishes.
Features:
- Ingredient Tokenization: The system tokenizes the list of ingredients and normalizes the text by removing unnecessary characters and common terms like "secukupnya" and "sdm."- TF-IDF Similarity Calculation: We use the TfidfVectorizer from sklearn to calculate the similarity between the user's ingredients and the ingredients from the recipes in the dataset.
- Dataset Combination: The dataset consists of multiple categories, such as chicken, fish, lamb, beef, tofu, eggs, and shrimp, which are combined to form a comprehensive dataset of recipes.
- Top Recipe Recommendations: For each set of input ingredients, the system returns the top 5 most similar recipes.
- Visualization: A bar chart visualizes the similarity scores of the top 5 recommended recipes based on the input ingredients.
Dataset Link: https://www.kaggle.com/datasets/canggih/indonesian-food-recipes
Presentation Link: https://www.canva.com/design/DAFcBNjSdKw/O8WR500eyNDZQG4E9FuKCw/edit?utm_content=DAFcBNjSdKw&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton
![PPT AI](https://github.com/user-attachments/assets/2ff0346a-f198-4f88-bb57-4828540ae4e2)