A machine learning-based application to recommend recipes personalized to your taste! This project combines data science, interactive web apps, and user-friendly design to help you discover new dishes quickly and intuitively.
-
Personalized Recipe Recommendations:
Enter your preferences or available ingredients, and get tailored recipe suggestions. -
Large Recipe Database:
Powered by an extensive dataset (all_recipes_final_df_v2.csv) covering diverse cuisines and dietary needs. -
ML-Driven Suggestions:
Utilizes PCA, TF-IDF, and a trained recipe recommendation model for accurate results. -
Intuitive Web Interface:
Simple, clean UI for easy recipe exploration (built with Python). -
Recipe Details:
Get the ingredients, instructions, and key info for every recommended recipe. -
Visual Appeal:
Includes images and a user-friendly layout (style.css,chef.jpg,project_logo.jpeg). -
Notebooks for EDA & Modeling:
Explore the modeling process and data analysis in theNotebooks/directory.
Recipe-Recommender/
βββ App/
β βββ application.py # Main web app backend
β βββ recipe_v1.py # Recipe recommendation logic
β βββ style.css # Custom styles
β βββ all_recipes_final_df_v2.csv # Recipe dataset
β βββ pca_model.pkl # PCA model
β βββ tfidf_vectorizer.pkl # TF-IDF model
β βββ recipe_recommendation_model.pkl # Main recommendation model
β βββ chef.jpg, project_logo.jpeg # Images for the UI
βββ Notebooks/
β βββ Modeling/ # Jupyter notebooks for modeling and EDA
βββ README.md # You are here!
- Backend & Logic: Python 3.x
- Web Framework: (Likely Flask or Streamlit β check
application.py) - ML/DS Libraries: scikit-learn, pandas, numpy (see Notebooks)
- Frontend: HTML/CSS via templates or Streamlit UI
- Visualization: Matplotlib, Seaborn (in Notebooks)
- Model Artifacts: Pre-trained
.pklfiles for fast recommendations
-
Clone the Repository
git clone https://github.com/yvishwas40/Recipe-Recommender.git cd Recipe-Recommender/App -
Install Dependencies
(You may want to use a virtual environment)pip install -r requirements.txt
If
requirements.txtis missing, install: pandas, numpy, scikit-learn, flask or streamlit, etc. -
Run the Application
# For Flask: python application.py # For Streamlit (if applicable): streamlit run application.py
-
Access the App
Open your browser athttp://localhost:5000for Flask or as indicated by Streamlit.
Explore the Notebooks/Modeling/ directory for EDA, model training, and evaluation steps used to build the recommender.
Contributions are welcome!
- Fork the repo
- Create your feature branch
- Commit your changes
- Open a Pull Request
Distributed under the MIT License.
Recipe Recommender β Unlock new flavors, one suggestion at a time!