Question: Java --------- Create any java graph where actors/actresses are nodes. If two actors have co-acted in a movie together, add an edge between the two

Java

---------

Create any java graph where actors/actresses are nodes. If two actors have co-acted in a movie together, add an edge between the two actors with weight of 1. If they have not co-acted in any movie in the dataset, there is no edge between them. Increase the weight of the edge for every movie they are in together. For example, if two actors are in 10 movies together, the weight of the edge between them is 10.

Dataset: https://www.dropbox.com/s/pg0cnzwdxcxws18/IMDBDataset.csv?dl=0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!