SlideShare a Scribd company logo
machine learning in & on facebook
Sai Srinivas
15311A0568
In Facebook
• Automatic friend tagging suggestions: When a pic is uploaded on
facebook, a suggestion asking if you want to tag your friend in the pic
appears. This is done by Facebook's face detection and recognition
algorithms based on the advanced deep learning neural network
research project Deepface.
• Mutual friend analysis: Facebook uses the clustering algorithm to
find mutual friends.
• Newsfeed: facebook uses ML to arrange your Newsfeed too. Like
posts of close friends may come up first. Posts related to your
favourite pages come up first.
• Friend Suggestions: Machine learning is used by FB to suggest new
friends based on mutual friend circles.
Machine learning in & on facebook
Machine learning in & on facebook
Machine learning in & on facebook
• CF[Collaborative Filtering] is a recommender systems
technique that helps people discover items that are most
relevant to them. At Facebook, this might include pages,
groups, events, games, and more. CF is based on the idea that
the best recommendations come from people who have similar
tastes. In other words, it uses historical item ratings of like-
minded people to predict how someone would rate an item.
Machine learning in & on facebook
Ads on facebook
• The process of placing an ad on News Feed is a complicated
dance. Facebook has to decide not only which ad to show to its
users, but when to show it to them. There isn't a dedicated
"slot," so to speak, for an ad in News Feed, so the team must
time the ads based what the user is doing on Facebook at that
given moment.
On Facebook
Business people use facebook data to:
* Promote relevant products
* Grow brand awareness
* Get qualified leads
* Close the loop
Sentiment Analysis
• Sentiment Analysis can be used to automatically detect
emotions, speculations, evaluations and opinions in the content
that people write. The sentiment analysis tool extracts data from
the comments on a post, cleanses the data and processes it to
give us an analysis in the form of a graph that classifies all the
comments into polarity and sentiments. This provides insight
into comments by classifying them into three polarities
(positive, negative & neutral) and into six different emotions
(anger, disgust, fear, joy, sadness, surprise). Most of the
algorithms for sentiment analysis are based on a classifier
Bayes' Theorem
p(Ck)= p (occurrence of class) [prior]
p(x)= p (instance of word) [likelihood]
• Its classifications regarding the decisions are surprisingly accurate.
The above function returns an object of class (data.frame) with seven
columns (anger, disgust, fear, joy, sadness, surprise and best_fit
category). This best_fit is the most likely sentiment category among
the six emotionsfor a given content item. Similarly, we will classify
polarity in the text and combine the emotions of all the comments. In
simple words the approach is, if a piece of content has more positive
keywords than negative keywords, it’s a positive content; if it has
more negative keywords than positive keywords, it’s a negative
content.
• After the classification, we fetch the “best_fit” category for
analysis. When all the data is cleansed and processed we enter
the next phase: strategic representation of data. In this phase the
processed data is subjected to a function named ‘ggplot()’,
which plots the distribution of emotions (anger, disgust, fear,
joy, sadness, surprise). Similarly, we can plot the distribution of
polarity (positive, negative and neutral).
Machine learning in & on facebook
Deep Facebook Analysis for business
*Analyze Your Competitors
*Gather Your Data
*Analyze Your Facebook Page Data
*Analyze Your Facebook Posts
*Ask Yourself the Right Questions
*What to Do After Checking Page & Post Data
Machine learning in & on facebook
Machine learning in & on facebook
Machine learning in & on facebook
Machine learning in & on facebook
Machine learning in & on facebook
Machine learning in & on facebook
Machine learning in & on facebook
Conclusion
• Facebook use our data to provide better services to us and
business people use this platform to manufacture the products
based on people's interest which is a good sign.
References
*https://sproutsocial.com.
*https://facebook.com/full_data_use_policy.
*https://en-gb.facebook.com/business
Machine learning in & on facebook

More Related Content

PPTX
Metrics Maze
PPTX
Tweeting for Hillary - DS 501 case study 1
PPT
Practical Social Analytics
PPTX
Authority, Impact, and the Future of Influence Marketing
PPTX
Tapping into dark social conversations
PPTX
Tapping into dark social
PPTX
Sentiment Analysis of Facebook.pptx
PPTX
Ml entity and sentiment analysis
Metrics Maze
Tweeting for Hillary - DS 501 case study 1
Practical Social Analytics
Authority, Impact, and the Future of Influence Marketing
Tapping into dark social conversations
Tapping into dark social
Sentiment Analysis of Facebook.pptx
Ml entity and sentiment analysis

Similar to Machine learning in & on facebook (20)

PDF
Emotion analysis
PPTX
Diamonds in the Rough (Sentiment(al) Analysis
PPTX
Amazon seniment
PPTX
Top 5 Survey Data Analysis Software .pptx
PPTX
Sentiment analysis using ml
PPTX
Survey Monkey: Best Practices Survey Design
PPTX
A presentation on Sentiment Analysis....
DOCX
Using Meltwater to Identify Competitor Data Assignment
PPTX
SENTIMENT ANALYSIS OF FEEDBACK DATA USING MACHINE LEARNING TECHNIQUE.pptx
PDF
SENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTION
PDF
Notes inside! Practical advice for measuring, analyzing, and reporting your n...
PDF
Building a Sentiment Analytics Solution Powered by Machine Learning- Impetus ...
PDF
Application-Of-NLP-Sentimental-Analysis.pdf
PDF
Unit4_Empathy Map.pdf Unit4_Empathy Map.pdf
PDF
Using Facebook insights to create target customer and buyer personas
PPTX
Sentimental Analysis - Naive Bayes Algorithm
PDF
Learn how personas can shape your optimization program
 
PDF
Data Augmentation for Improving Emotion Recognition in Software Engineering C...
PPTX
Major presentation
Emotion analysis
Diamonds in the Rough (Sentiment(al) Analysis
Amazon seniment
Top 5 Survey Data Analysis Software .pptx
Sentiment analysis using ml
Survey Monkey: Best Practices Survey Design
A presentation on Sentiment Analysis....
Using Meltwater to Identify Competitor Data Assignment
SENTIMENT ANALYSIS OF FEEDBACK DATA USING MACHINE LEARNING TECHNIQUE.pptx
SENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTION
Notes inside! Practical advice for measuring, analyzing, and reporting your n...
Building a Sentiment Analytics Solution Powered by Machine Learning- Impetus ...
Application-Of-NLP-Sentimental-Analysis.pdf
Unit4_Empathy Map.pdf Unit4_Empathy Map.pdf
Using Facebook insights to create target customer and buyer personas
Sentimental Analysis - Naive Bayes Algorithm
Learn how personas can shape your optimization program
 
Data Augmentation for Improving Emotion Recognition in Software Engineering C...
Major presentation
Ad

Recently uploaded (20)

PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
TLE Review Electricity (Electricity).pptx
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Getting Started with Data Integration: FME Form 101
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DP Operators-handbook-extract for the Mautical Institute
TLE Review Electricity (Electricity).pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Tartificialntelligence_presentation.pptx
Hindi spoken digit analysis for native and non-native speakers
Encapsulation_ Review paper, used for researhc scholars
Getting Started with Data Integration: FME Form 101
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
A comparative analysis of optical character recognition models for extracting...
Web App vs Mobile App What Should You Build First.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Approach and Philosophy of On baking technology
Assigned Numbers - 2025 - Bluetooth® Document
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
1 - Historical Antecedents, Social Consideration.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Ad

Machine learning in & on facebook

  • 1. machine learning in & on facebook Sai Srinivas 15311A0568
  • 2. In Facebook • Automatic friend tagging suggestions: When a pic is uploaded on facebook, a suggestion asking if you want to tag your friend in the pic appears. This is done by Facebook's face detection and recognition algorithms based on the advanced deep learning neural network research project Deepface. • Mutual friend analysis: Facebook uses the clustering algorithm to find mutual friends. • Newsfeed: facebook uses ML to arrange your Newsfeed too. Like posts of close friends may come up first. Posts related to your favourite pages come up first. • Friend Suggestions: Machine learning is used by FB to suggest new friends based on mutual friend circles.
  • 6. • CF[Collaborative Filtering] is a recommender systems technique that helps people discover items that are most relevant to them. At Facebook, this might include pages, groups, events, games, and more. CF is based on the idea that the best recommendations come from people who have similar tastes. In other words, it uses historical item ratings of like- minded people to predict how someone would rate an item.
  • 8. Ads on facebook • The process of placing an ad on News Feed is a complicated dance. Facebook has to decide not only which ad to show to its users, but when to show it to them. There isn't a dedicated "slot," so to speak, for an ad in News Feed, so the team must time the ads based what the user is doing on Facebook at that given moment.
  • 9. On Facebook Business people use facebook data to: * Promote relevant products * Grow brand awareness * Get qualified leads * Close the loop
  • 10. Sentiment Analysis • Sentiment Analysis can be used to automatically detect emotions, speculations, evaluations and opinions in the content that people write. The sentiment analysis tool extracts data from the comments on a post, cleanses the data and processes it to give us an analysis in the form of a graph that classifies all the comments into polarity and sentiments. This provides insight into comments by classifying them into three polarities (positive, negative & neutral) and into six different emotions (anger, disgust, fear, joy, sadness, surprise). Most of the algorithms for sentiment analysis are based on a classifier
  • 11. Bayes' Theorem p(Ck)= p (occurrence of class) [prior] p(x)= p (instance of word) [likelihood]
  • 12. • Its classifications regarding the decisions are surprisingly accurate. The above function returns an object of class (data.frame) with seven columns (anger, disgust, fear, joy, sadness, surprise and best_fit category). This best_fit is the most likely sentiment category among the six emotionsfor a given content item. Similarly, we will classify polarity in the text and combine the emotions of all the comments. In simple words the approach is, if a piece of content has more positive keywords than negative keywords, it’s a positive content; if it has more negative keywords than positive keywords, it’s a negative content.
  • 13. • After the classification, we fetch the “best_fit” category for analysis. When all the data is cleansed and processed we enter the next phase: strategic representation of data. In this phase the processed data is subjected to a function named ‘ggplot()’, which plots the distribution of emotions (anger, disgust, fear, joy, sadness, surprise). Similarly, we can plot the distribution of polarity (positive, negative and neutral).
  • 15. Deep Facebook Analysis for business *Analyze Your Competitors *Gather Your Data *Analyze Your Facebook Page Data *Analyze Your Facebook Posts *Ask Yourself the Right Questions *What to Do After Checking Page & Post Data
  • 23. Conclusion • Facebook use our data to provide better services to us and business people use this platform to manufacture the products based on people's interest which is a good sign.