Member-only story

Ranking Movie Actors Using PageRank Algorithm

Exploring Actor Ranks with Imdb Data and PageRank Algo

Pankaj Kumar
9 min readAug 26, 2021
Photo by K. Mitch Hodge on Unsplash

Introduction

I was trying to create a ranking of actors who worked in all the movies released that year using Google’s popular PageRank algorithm. It was not based on success of movies of an actor. It was rather based on how other actors who worked with them worked with other actors and titles in the same year. if more important actors worked with an actor then that actor becomes import one too. The importance of actor is determined by PageRank algo. An actor-actor graph is created from actor movie graph for this purpose.

The actors movie relations are stored in neo4j graph database. Following is the structures of the data. The data was loaded from imdb dataset page.

image.png

Following are the attributes of a movie node :

image-3.png

Following are the attributes of an actor node:

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Pankaj Kumar
Pankaj Kumar

Written by Pankaj Kumar

MS Data Science SMU TX, MSc Financial Engg WQU. Interest in Algos, Discovering Trends in data. Worked 4 Hedge Funds n Inv banks https://vitvinyas.onrender.com/

No responses yet

Write a response