jayksharma commited on
Commit
bb8d420
1 Parent(s): 70b76de

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +79 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - token-classification
5
+ language:
6
+ - en
7
+ size_categories:
8
+ - 100K<n<1M
9
+ datasets:
10
+ - movie_network_analysis
11
+ tags:
12
+ - network analysis
13
+ - community detection
14
+ - centrality measures
15
+ - python
16
+ - data science
17
+ ---
18
+
19
+ # Movie Network Analysis
20
+
21
+ ## Dataset Summary
22
+
23
+ This dataset contains information about top-rated films and their shared actors, used to conduct network analysis and understand the factors contributing to their success. The analysis employs techniques like network construction, community detection, and centrality measures.
24
+
25
+ ## Motivation
26
+
27
+ The motivation behind this project is to explore connections between successful films through shared actors, aiming to provide insights that could benefit filmmakers and industry stakeholders in optimizing film production decisions.
28
+
29
+ ## Data
30
+
31
+ ### Code Files
32
+ - `data_collection.py`: Python script to collect data from TMDB API, cleanse it, and prepare it for analysis.
33
+ - `network_construction.py`: Script to construct the film network based on shared actors and compute edge weights.
34
+ - `analysis.py`: Contains functions for performing network analysis using algorithms like PageRank, Louvain community detection, and degree centrality.
35
+ - `utils.py`: Utility functions used across the scripts for data preprocessing and calculation.
36
+
37
+ ### Data Files
38
+ - `top_films_data.csv`: CSV file containing details of the top-rated films used in the analysis, including budget, revenue, genres, actors, etc.
39
+ - `film_network.graphml`: GraphML file representing the film network with nodes as films and weighted edges based on shared actors.
40
+
41
+ ## Usage
42
+
43
+ ### Setup Instructions
44
+ To run the scripts and replicate the analysis:
45
+
46
+ #### Prerequisites:
47
+ - Python 3.x installed.
48
+ - Required Python packages installed (listed in `requirements.txt`).
49
+
50
+ #### Installation:
51
+ ```bash
52
+ pip install -r requirements.txt
53
+ ```
54
+
55
+ ### Running the Scripts
56
+ 1. Adjust configurations (API keys, file paths) in the scripts if necessary.
57
+ 2. Execute each script in the following order:
58
+ ```bash
59
+ python data_collection.py
60
+ python network_construction.py
61
+ python analysis.py
62
+ ```
63
+
64
+ ### Output
65
+ Check generated output files (`film_network.graphml`, etc.) for results of the analysis.
66
+
67
+ ## Additional Notes
68
+ - Ensure API keys and paths to data files are correctly configured in the scripts.
69
+ - For detailed explanations of algorithms and methodologies used, refer to the comments within each script.
70
+ - For any questions or issues, contact the contributors listed above.
71
+
72
+ ## Contributors
73
+ - Jay Sharma
74
+ - Saiz Prasla
75
+ - Harsimran Saini
76
+ - Zuhair Siddiqi
77
+
78
+ ## License
79
+ This project is licensed under the MIT License.