{"id":18942811,"url":"https://github.com/ughrima/book-recommendation","last_synced_at":"2026-04-28T18:05:12.655Z","repository":{"id":244572237,"uuid":"812749206","full_name":"ughrima/Book-Recommendation","owner":"ughrima","description":"A streamlit webapp that recommends books. Based on collaborative filtering.","archived":false,"fork":false,"pushed_at":"2024-06-09T19:18:09.000Z","size":30623,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T18:55:00.295Z","etag":null,"topics":["collaborative-filtering","dataset","machine-learning","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ughrima.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T19:12:07.000Z","updated_at":"2024-08-10T19:04:35.000Z","dependencies_parsed_at":"2024-06-15T18:55:03.412Z","dependency_job_id":null,"html_url":"https://github.com/ughrima/Book-Recommendation","commit_stats":null,"previous_names":["ughrima/book-recommendation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ughrima/Book-Recommendation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ughrima%2FBook-Recommendation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ughrima%2FBook-Recommendation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ughrima%2FBook-Recommendation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ughrima%2FBook-Recommendation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ughrima","download_url":"https://codeload.github.com/ughrima/Book-Recommendation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ughrima%2FBook-Recommendation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collaborative-filtering","dataset","machine-learning","streamlit"],"created_at":"2024-11-08T12:34:22.291Z","updated_at":"2026-04-28T18:05:12.637Z","avatar_url":"https://github.com/ughrima.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Book Recommendation System \n\n## Overview\n\nA book recommendation system that uses collaborative filtering to suggest books to users based on their reading preferences. This system is built using Python and has a Streamlit frontend for easy interaction.\n\n## Features\n\n- **Collaborative Filtering**: Recommends books based on user similarities.\n- **Streamlit Frontend**: Interactive web interface to get book recommendations.\n- **Dataset**: Uses book ratings, book information, and user information for recommendations.\n\n## Dataset Description\n\nThe dataset contains three files:\n1. **Books**: Information about books (author, title, publication year, etc.).\n2. **Users**: Information about users (user id, location).\n3. **Ratings**: Ratings given by users to books.\n\n## Preprocessing\n\n- Removed unnecessary columns.\n- Renamed columns for easier use.\n- Filtered users with at least 200 ratings and books with at least 50 ratings.\n\n## Building the Model\n\n- Created a pivot table with user ids as columns, book titles as rows, and ratings as values.\n- Converted the pivot table to a sparse matrix.\n- Trained a Nearest Neighbors model using the sparse matrix.\n\n## Streamlit Interface\n\n### Installation\n\n## How to Run\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/yourusername/Book-Recommendation.git\n    cd Book-Recommendation\n    ```\n### Running the Application\n\n1. Run the Streamlit app:\n   ```bash\n   streamlit run main.py\n   ```\n\n### Usage\n\n- Select a book from the dropdown menu.\n- Click the \"Show Recommendation\" button to get recommended books along with their images.\n\n\n## Conclusion\n\nThis book recommendation system efficiently recommends books based on user preferences using collaborative filtering and provides an interactive interface for users to get book recommendations.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fughrima%2Fbook-recommendation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fughrima%2Fbook-recommendation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fughrima%2Fbook-recommendation/lists"}