Skip to content

A Movie recommendation system using Content Based Filtering with ElasticSearch

Notifications You must be signed in to change notification settings

shulavkarki/Content-Based-Filtering-with-ElasticSearch

Repository files navigation

Content-Based-Filtering-with-ElasticSearch

A Movie recommendation system using Content Based Filtering with ElasticSearch

Built With

Getting Started

Installation

  1. Clone the repo
git clone https://github.com/shulavkarki/Content-Based-Filtering-with-ElasticSearch.git
  1. Create Virtual Env.
python -m venv {environmentname}

activate accordingly.

  1. Install the requirements.
pip install -r requirements.txt
  1. Fire up the elasticsearch and kibana service with docker.
docker-compose up

run docker desktop. Make sure the elasticsearch and kibana is working by going to following ports. localhost:9200 localhost:5601 You should get something like this:

![image]()
  1. Index the movie.

For indexing movies to elasticsearch. Run the following.

python create_index.py
  1. Run Fastapi
uvicorn foldername.app{filename app.py}:app{name of fastpi method} --reload

In and Out

Pull up:

localhost:8000/docs

Input movie_name: "star wars" no_of_recommendation: 10

Output

image

About

A Movie recommendation system using Content Based Filtering with ElasticSearch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages