This project implements a recipe recommendation system content based on user-provided ingredients. The system utilizes cosine similarity and TF-IDF (Term Frequency-Inverse Document Frequency) to suggest recipes similar to the user's input.
The recipe recommendation system allows users to input a list of ingredients, and it recommends recipes from a dataset that match or are similar to the provided ingredients. The recommendations include details such as recipe names, ingredients, nutritional information, images and videos.
- Content-Based Filtering: Recommendations are based on the similarity between user-input ingredients and recipes in the dataset.
- Cosine Similarity: Calculates similarity scores using cosine similarity metric.
- TF-IDF Vectorization: Vectorizes ingredients using TF-IDF for text representation.
-
Clone the repository:
git clone https://github.com/your-username/Seasonings.git cd Seasonings
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the app:
streamlit run Streamlit.py
pandas
scikit-learn
requests
PIL
fastapi
If you want to read about the entire project, please go to the following link: https://medium.com/@abhinavbammidi/from-text-to-tasty-how-nlp-transforms-ingredients-into-recipes-cbdbdef57d2d
This project is licensed under the MIT License - see the LICENSE file for details.
Replace the placeholders (your-username
, http://localhost:8000
, link-to-dataset
, link-to-notebook
, etc.) with the appropriate URLs, paths, and information relevant to your project.
You can copy and paste the above markdown content into your README.md file on GitHub. This formatted markdown will display correctly on GitHub with code blocks and formatting preserved.