Skip to content

Latest commit

Β 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Here's a more detailed README.md file with additional sections, including usage instructions, dataset details, and potential improvements.


πŸ“š Book Recommendation System

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.

πŸš€ Features

βœ… 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.


πŸ›  Installation

Follow these steps to set up and run the application on your local machine.

1️⃣ Clone the Repository

git clone https://github.com/your-username/book-recommendation.git
cd book-recommendation

2️⃣ Install Dependencies

Ensure you have Python 3.7+ installed, then install the required packages using:

pip install -r requirements.txt

3️⃣ Run the Application

streamlit run br.py

This will launch the Streamlit web app in your browser.


πŸ“‚ Project Structure

πŸ“ book-recommendation
│── πŸ“„ br.py               # Main application file
│── πŸ“„ br.csv              # Dataset (books, authors, genres)
│── πŸ“„ bg.gif              # Background animation
│── πŸ“„ requirements.txt     # Required dependencies
│── πŸ“„ README.md           # Documentation

πŸ“Š Dataset

The dataset br.csv contains the following columns:

  • title – Name of the book
  • author – Author of the book
  • genre – Genre classification

These features are combined to compute book similarity.


πŸ–₯ Usage

  1. Select a Book – Use the dropdown menu to pick a book title.
  2. Get Recommendations – The system will suggest books with similar genres and authors.
  3. Explore & Enjoy! – Use the recommendations to discover new books.

πŸ”¬ How It Works

1️⃣ Text Processing

  • Combines the genre and author columns.
  • 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


πŸš€ Future Improvements

βœ… 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.


πŸ‘¨β€πŸ’» Author

Developed by: CH TEJA YADAV
πŸ“§ Email: tejayadavch@gmail.com
πŸ’» GitHub: https://github.com/chtejayadav

About

This Streamlit Book Recommendation System suggests similar books based on genre and author using TF-IDF and cosine similarity. Users can select a book from a dropdown menu, and the system will recommend related books. The app provides an interactive way to discover new books based on content similarity. πŸš€πŸ“š

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages