Here's a more detailed README.md file with additional sections, including usage instructions, dataset details, and potential improvements.
This is an AI-powered Book Recommendation System that helps users discover books similar to their chosen title based on genre and author. Built using Streamlit, Scikit-learn, and Pandas, the system leverages TF-IDF vectorization and cosine similarity to provide accurate book recommendations.
β
Personalized Recommendations β Get book suggestions based on genre and author.
β
Intuitive UI β Built using Streamlit, providing an easy-to-use interface.
β
Machine Learning-Powered β Uses TF-IDF Vectorization and Cosine Similarity to find similar books.
β
Dynamic Background β A visually appealing background GIF enhances user experience.
β
Fast & Lightweight β No need for deep learning, making it fast and resource-efficient.
Follow these steps to set up and run the application on your local machine.
git clone https://github.com/your-username/book-recommendation.git
cd book-recommendationEnsure you have Python 3.7+ installed, then install the required packages using:
pip install -r requirements.txtstreamlit run br.pyThis will launch the Streamlit web app in your browser.
π book-recommendation
βββ π br.py # Main application file
βββ π br.csv # Dataset (books, authors, genres)
βββ π bg.gif # Background animation
βββ π requirements.txt # Required dependencies
βββ π README.md # Documentation
The dataset br.csv contains the following columns:
titleβ Name of the bookauthorβ Author of the bookgenreβ Genre classification
These features are combined to compute book similarity.
- Select a Book β Use the dropdown menu to pick a book title.
- Get Recommendations β The system will suggest books with similar genres and authors.
- Explore & Enjoy! β Use the recommendations to discover new books.
1οΈβ£ Text Processing
- Combines the
genreandauthorcolumns. - Converts them into numerical values using TF-IDF Vectorization.
2οΈβ£ Similarity Computation
- Computes Cosine Similarity between books based on their text features.
- Finds the most similar books to the selected title.
3οΈβ£ Recommendation Display
- Displays the top
Nsimilar books in the Streamlit app. - To use the app click here : https://bookrecommendation-4quwed4vshqsvtf4vfwyyn.streamlit.app/#170a906e
β
Add user ratings & reviews for better recommendations.
β
Implement deep learning models for improved accuracy.
β
Enhance UI/UX with more styling and interactivity.
β
Allow user-inputted books to find similar recommendations.
Developed by: CH TEJA YADAV
π§ Email: tejayadavch@gmail.com
π» GitHub: https://github.com/chtejayadav