/sna-and-friend-recommendation-bfs

Social Network Analysis and Friend Recommendation System with Breadth First Search Algorithm

Primary LanguagePython

Social Network Analysis and Friend Recommendation System with Breadth First Search Algorithm

This program analyze relation between users and recommend new friends to user based on Breadth First Search Algorithm

How to run program

  1. First, import the sql data to your local sql and then change the user, host, database, port, and password based on your local
  2. Second, run this in the root directory
py main.py

Program Screenshots

Social network analysis

image

Get n-level friend of an user

image

Friend Recommendation Program

image