├── README.md ├── Social-Network-Analysis-in-Python.ipynb ├── dataset ├── facebook │ ├── 0.circles │ ├── 0.edges │ ├── 0.egofeat │ ├── 0.feat │ ├── 0.featnames │ ├── 107.circles │ ├── 107.edges │ ├── 107.egofeat │ ├── 107.feat │ ├── 107.featnames │ ├── 1684.circles │ ├── 1684.edges │ ├── 1684.egofeat │ ├── 1684.feat │ ├── 1684.featnames │ ├── 1912.circles │ ├── 1912.edges │ ├── 1912.egofeat │ ├── 1912.feat │ ├── 1912.featnames │ ├── 3437.circles │ ├── 3437.edges │ ├── 3437.egofeat │ ├── 3437.feat │ ├── 3437.featnames │ ├── 348.circles │ ├── 348.edges │ ├── 348.egofeat │ ├── 348.feat │ ├── 348.featnames │ ├── 3980.circles │ ├── 3980.edges │ ├── 3980.egofeat │ ├── 3980.feat │ ├── 3980.featnames │ ├── 414.circles │ ├── 414.edges │ ├── 414.egofeat │ ├── 414.feat │ ├── 414.featnames │ ├── 686.circles │ ├── 686.edges │ ├── 686.egofeat │ ├── 686.feat │ ├── 686.featnames │ ├── 698.circles │ ├── 698.edges │ ├── 698.egofeat │ ├── 698.feat │ └── 698.featnames └── facebook_combined.txt ├── images ├── Figure_1.png ├── betweenness_centrality.png ├── betweenness_centrality_2.jpg ├── degree_centrality.png ├── degree_centrality_2.jpg └── eigenvector_centrality.png ├── requirements.txt └── scripts ├── betweenness_centrality.py └── graph_degree_centrality.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/README.md -------------------------------------------------------------------------------- /Social-Network-Analysis-in-Python.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/Social-Network-Analysis-in-Python.ipynb -------------------------------------------------------------------------------- /dataset/facebook/0.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/0.circles -------------------------------------------------------------------------------- /dataset/facebook/0.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/0.edges -------------------------------------------------------------------------------- /dataset/facebook/0.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/0.egofeat -------------------------------------------------------------------------------- /dataset/facebook/0.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/0.feat -------------------------------------------------------------------------------- /dataset/facebook/0.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/0.featnames -------------------------------------------------------------------------------- /dataset/facebook/107.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/107.circles -------------------------------------------------------------------------------- /dataset/facebook/107.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/107.edges -------------------------------------------------------------------------------- /dataset/facebook/107.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/107.egofeat -------------------------------------------------------------------------------- /dataset/facebook/107.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/107.feat -------------------------------------------------------------------------------- /dataset/facebook/107.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/107.featnames -------------------------------------------------------------------------------- /dataset/facebook/1684.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1684.circles -------------------------------------------------------------------------------- /dataset/facebook/1684.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1684.edges -------------------------------------------------------------------------------- /dataset/facebook/1684.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1684.egofeat -------------------------------------------------------------------------------- /dataset/facebook/1684.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1684.feat -------------------------------------------------------------------------------- /dataset/facebook/1684.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1684.featnames -------------------------------------------------------------------------------- /dataset/facebook/1912.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1912.circles -------------------------------------------------------------------------------- /dataset/facebook/1912.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1912.edges -------------------------------------------------------------------------------- /dataset/facebook/1912.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1912.egofeat -------------------------------------------------------------------------------- /dataset/facebook/1912.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1912.feat -------------------------------------------------------------------------------- /dataset/facebook/1912.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/1912.featnames -------------------------------------------------------------------------------- /dataset/facebook/3437.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3437.circles -------------------------------------------------------------------------------- /dataset/facebook/3437.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3437.edges -------------------------------------------------------------------------------- /dataset/facebook/3437.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3437.egofeat -------------------------------------------------------------------------------- /dataset/facebook/3437.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3437.feat -------------------------------------------------------------------------------- /dataset/facebook/3437.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3437.featnames -------------------------------------------------------------------------------- /dataset/facebook/348.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/348.circles -------------------------------------------------------------------------------- /dataset/facebook/348.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/348.edges -------------------------------------------------------------------------------- /dataset/facebook/348.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/348.egofeat -------------------------------------------------------------------------------- /dataset/facebook/348.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/348.feat -------------------------------------------------------------------------------- /dataset/facebook/348.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/348.featnames -------------------------------------------------------------------------------- /dataset/facebook/3980.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3980.circles -------------------------------------------------------------------------------- /dataset/facebook/3980.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3980.edges -------------------------------------------------------------------------------- /dataset/facebook/3980.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3980.egofeat -------------------------------------------------------------------------------- /dataset/facebook/3980.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3980.feat -------------------------------------------------------------------------------- /dataset/facebook/3980.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/3980.featnames -------------------------------------------------------------------------------- /dataset/facebook/414.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/414.circles -------------------------------------------------------------------------------- /dataset/facebook/414.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/414.edges -------------------------------------------------------------------------------- /dataset/facebook/414.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/414.egofeat -------------------------------------------------------------------------------- /dataset/facebook/414.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/414.feat -------------------------------------------------------------------------------- /dataset/facebook/414.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/414.featnames -------------------------------------------------------------------------------- /dataset/facebook/686.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/686.circles -------------------------------------------------------------------------------- /dataset/facebook/686.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/686.edges -------------------------------------------------------------------------------- /dataset/facebook/686.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/686.egofeat -------------------------------------------------------------------------------- /dataset/facebook/686.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/686.feat -------------------------------------------------------------------------------- /dataset/facebook/686.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/686.featnames -------------------------------------------------------------------------------- /dataset/facebook/698.circles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/698.circles -------------------------------------------------------------------------------- /dataset/facebook/698.edges: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/698.edges -------------------------------------------------------------------------------- /dataset/facebook/698.egofeat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/698.egofeat -------------------------------------------------------------------------------- /dataset/facebook/698.feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/698.feat -------------------------------------------------------------------------------- /dataset/facebook/698.featnames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook/698.featnames -------------------------------------------------------------------------------- /dataset/facebook_combined.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/dataset/facebook_combined.txt -------------------------------------------------------------------------------- /images/Figure_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/images/Figure_1.png -------------------------------------------------------------------------------- /images/betweenness_centrality.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/images/betweenness_centrality.png -------------------------------------------------------------------------------- /images/betweenness_centrality_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/images/betweenness_centrality_2.jpg -------------------------------------------------------------------------------- /images/degree_centrality.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/images/degree_centrality.png -------------------------------------------------------------------------------- /images/degree_centrality_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/images/degree_centrality_2.jpg -------------------------------------------------------------------------------- /images/eigenvector_centrality.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/images/eigenvector_centrality.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | networkx 2 | matplotlib -------------------------------------------------------------------------------- /scripts/betweenness_centrality.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/scripts/betweenness_centrality.py -------------------------------------------------------------------------------- /scripts/graph_degree_centrality.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miladfa7/Social-Network-Analysis-in-Python/HEAD/scripts/graph_degree_centrality.py --------------------------------------------------------------------------------