{"id":16599851,"url":"https://github.com/itsjafer/tv-show-recommendations","last_synced_at":"2025-07-09T16:39:02.836Z","repository":{"id":52158558,"uuid":"188485204","full_name":"itsjafer/tv-show-recommendations","owner":"itsjafer","description":"Machine learning pipeline trained offline that, given a TV Show, recommends 10 similar TV Shows using cosine similarities based on a variety of features","archived":false,"fork":false,"pushed_at":"2022-12-27T14:55:37.000Z","size":238174,"stargazers_count":17,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T08:02:47.850Z","etag":null,"topics":["data","engine","learning","machine","python","recommendation","science","tv-shows"],"latest_commit_sha":null,"homepage":"http://itsjafer.com/#/show-predictor","language":"Python","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/itsjafer.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}},"created_at":"2019-05-24T20:43:12.000Z","updated_at":"2024-07-18T19:29:17.000Z","dependencies_parsed_at":"2023-01-31T04:01:43.866Z","dependency_job_id":null,"html_url":"https://github.com/itsjafer/tv-show-recommendations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsjafer/tv-show-recommendations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjafer%2Ftv-show-recommendations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjafer%2Ftv-show-recommendations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjafer%2Ftv-show-recommendations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjafer%2Ftv-show-recommendations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsjafer","download_url":"https://codeload.github.com/itsjafer/tv-show-recommendations/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjafer%2Ftv-show-recommendations/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260277685,"owners_count":22985117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["data","engine","learning","machine","python","recommendation","science","tv-shows"],"created_at":"2024-10-12T00:12:47.887Z","updated_at":"2025-06-17T02:33:49.719Z","avatar_url":"https://github.com/itsjafer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Recommendation Engine\n\n![](demo.GIF)\n\nUsing scraped data from Metacritic and IMDB, this model will take a TV Show as input and return 10 others that are recommended based on that show. Written in Python using mostly selectolax, scikit-learn, fuzzywuzzy, nltk, and pandas. \n\n## Model\n\nThe underlying model uses the following features (each weighted differently):\n\n* Genres\n* Plot\n* Synopsis\n* Cast\n* Production company\n* Keywords (describing the show)\n* Number of seasons\n* Episode runtime\n* IMDB Rating\n* Metacritic score\n* Metacritic user score\n\nUsing these, the model finds pairwise cosine_similarities between every TV Show in the database. Combining the top 30 most similar with a weighted average of IMDB and metacritic scores gives an overall recommendation score.\n\n## Demo\n\nYou can see a demo of prediction on my [website](http://itsjafer.com/#/show-predictor).\n\n## Limitations\n\nMetacritic scores are based on the first season (this is why metascores carry a lower weight). In the future, we need to scrape data for the entire show or the average of all seasons.\n\n## Setup\n\n`metacritic_scraper.py` must run before `imdb_scraper`. Following this, the training and predicting can be done.\n\nYou can either run the main file in a terminal or run this as a flask webserver using `flask_api`.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjafer%2Ftv-show-recommendations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsjafer%2Ftv-show-recommendations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjafer%2Ftv-show-recommendations/lists"}