Skip to content

A Graph Theory–based social network analysis project using Python, NetworkX, Pandas, NumPy, and Matplotlib to identify key influencers, simulate brand reach, and measure information spread using centrality metrics.

Notifications You must be signed in to change notification settings

luneseline/InfluenceAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

InfluenceAlgorithm

📊 Social Media Influence Graph — A Graph Theory Project

This project visualizes a social media platform as a graph network, where each user is represented as a node and their connections as edges.
Using Graph Theory algorithms, the project identifies the most influential users (potential brand sponsors) and simulates how information spreads across the network.


🎯 Project Objective

To apply concepts of Graph Theory and Centrality Measures in analyzing social media influence and predicting optimal brand sponsorship strategies.


🧩 Features

  • 🕸️ Graph Visualization: Displays the user network using Matplotlib and NetworkX.
  • 📈 Centrality Analysis: Calculates and compares:
    • Degree Centrality
    • Betweenness Centrality
    • Eigenvector Centrality
  • 🤝 Influencer Selection: Determines which influencers brands should sponsor based on network importance.
  • 🔁 Influence Simulation: Models how a brand message spreads across the user base.
  • ⏱️ Reach Time Calculation: Estimates how long it takes for brand awareness to reach the maximum number of users.
  • 💾 Fake Data Generation: Uses Pandas and NumPy to create synthetic user and connection datasets.

🧠 Concepts Used

  • Graph Theory
  • Node Centrality Measures
  • Eigenvector Centrality
  • Network Propagation Simulation
  • Data Analysis (Pandas + NumPy)
  • Graph Visualization (Matplotlib + NetworkX)

⚙️ Tech Stack

Component Library Used
Data Handling Pandas, NumPy
Graph Operations NetworkX
Visualization Matplotlib
Simulation Python (Custom Functions)

🧰 How to Run the Project

  1. Clone this repository:
    git clone https://github.com/your-username/social-media-influence-graph.git
    cd social-media-influence-graph

About

A Graph Theory–based social network analysis project using Python, NetworkX, Pandas, NumPy, and Matplotlib to identify key influencers, simulate brand reach, and measure information spread using centrality metrics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages