Back

Sanskar

Keen Learner and Exp... ‱ 18h

Day 3 of learning Data Science as a beginner. Topic: "people you may know" Since I have already cleaned and processed the data its time for me to go one step further and tried to understand the connection between data and create a suggestions list of people you may know. For this I first started with logic building like what I want the program to do exactly I wanted it to first check the friends of a user and then check their friends as well for example suppose a user A who has friend B and B is friends with C and D now its high chances that A might also know C and D and if A is having another friend say E and E is friend with D then the chances of A knowing D and vice-a-versa increases significantly. That's how the people you may know work. I also wanted it to check whether D is a direct friend of A or not and if not then add D in the suggestion of people you may know. I also wanted the program to increase the weightage of D if he is also the mutual friend of many others who are direct friends of A. Using this same idea I created a python script which is able to do so. I am open for suggestions and recommendations as well. Here's my code and its result.

Reply
3

More like this

Recommendations from Medial

Krishna Shewale

Technological Imagin... ‱ 7m

Recently, I came to know regarding the flexible batteries. I wanted to know more about that and I also wanted to know, what can be the business models and business ideas that can be explored in the field of battery technology.

Reply
1
Image Description

SHAI

Common man ‱ 1y

I wanted to support this beautiful app by sharing and I did it and will also tell my college friends

1 Reply
5

Somen Das

Senior developer | b... ‱ 1y

so today someone I don't know. one of my friends recommended him to me. he wants a App for e-commerce also needs admin panel delivery tracking and all sorts of features now as a friend's friend I just say 50k I will manage everything. he says ok I wi

See More
Reply
1
3
Image Description

chandarkant Gupta

innovation leads. ‱ 8m

Hello guys. I am new here. I wanted to know that I have a start up idea but I lack capital.software and hardware developers to communicate the idea. I really need help from them.I also lack some main skills. I am from Bihar and here tech start can no

See More
5 Replies
1
4
Image Description
Image Description

K Ranjith Kumar

Hey I am on Medial ‱ 1y

Hi guys, How are you? I wanted to start a Business with Rice and I wanted to know it prices in the market, can you share the price of each KG of rice in your area 🙂 Thank you đŸ€—

5 Replies
6
Image Description

Parth Sohaney

Software Developer||... ‱ 1y

Hey, I am starting learning Cybersecurity I wanted to opt Penetration Testing as a career...if anyone wanted to learn together lets connect ...and yes I wanted some resource to gain knowlege upto Comptia Network + ,experts may suggest....😊

3 Replies
6
Image Description
Image Description

Tuhin Subhra Biswas

Building in đŸ„·đŸ»â€ą Pr... ‱ 1y

My friend was applying for unis and colleges for BTech, he applied for a "Kelvium" work integrated program for BTech and got selected, do you have any info on "kelvium"? It's Bangalore based only so wanted to know a bit about it. Lemme know if you a

See More
6 Replies
11
Image Description
Image Description

Hemant Prajapati

 ‱ 

Techsaga Corporations ‱ 1y

Friend 1: Bhai, semester mein top kiya Friend 2: Chal, pette hain! (Let's party!) Friend 1: Bhai, semester mein fail ho gaya. Friend 2: Chal, pette hain! (Let's party!) Friend 1: Bhai, patch up ho gaya. (I got patched up) Friend 2: Chal, pette ha

See More
2 Replies
9

Download the medial app to read full posts, comements and news.