Skip to content

john2408/network_analysis_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie Dataset Network Analysis using Rust

Network analysis of the IMDB movie dataset. The "Top 1000 IMDb Movies Dataset" is a comprehensive collection that presents the most celebrated and beloved movies, as rated and ranked by IMDb users.

Link to the data

The goal of this project is to calculate th most influencial people from all movies available using the columns Director and Stars 1-4. The code in this repo implements an undirected graph using petgraph and rustworkx and calculates the eigenvector centrality of the top 5 people.

Two approaches are implemented:

  • Self-made Eigenvector centrality function.
  • Calculation of Eigenvector centrality using Rustworkx.

This code was created using DevContainers, that means that all the dependencies and packages are directly handle by the devcontainer.json config.

Prerequisites:

  • Docker Desktop
  • VSCode

In order to run the code, download VsCode and install the Devcontainers extension. Then go to "View", select "Command Palette", and select:

Dev Containers: Reopen in Container ...

After that the latest Rust version will be installed, and the code can be run using:

cargo build
cargo run

The restuls after running the code are:

alt text

About

Network analysis of movie data using rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages