SlideShare a Scribd company logo
1 of 30
Download to read offline
Mental Disorder Detection on Twitter:
Bipolar Disorder and Borderline
Personality Disorder
National Tsing Hua University
Department of Information System and
Application
Advisor: Prof. Yi-Shin Chen
Student: Chun-Hao Chang
Introduction
18.1% people suffer from mental disorder in United States (*)
Using Social Network to research on Mental Disorder
National Insititute of Mental Helath:
http://www.nimh.nih.gov/health/statistics/prevalence/index.shtml
Analyze
Challenges
How to efficiently collect the tweets of patients?
How to correctly detect mental disorder patients?
Related Works
Quantifying Mental Health Signals in Twitter - John Hopkins
University(Coppersmith, G., Dredze, M., & Harman, C. (2014))
Automatic collecting patients by matching: “I was diagnosed with X” in tweets
Prediction of 4 kinds of disorder
Predicting Depression via Social Media - Microsoft (M De Choudhury, M
Gamon, S Counts, E Horvitz - ICWSM, 2013)
Collecting data from Amazon Turks and purchased Twitter data.
Able to predict an user having depression disorder before a formal diagnosis
Two important related works are as following:
Related Works
Quantifying Mental Health Signals in Twitter - John Hopkins
University(Coppersmith, G., Dredze, M., & Harman, C. (2014))
Automatic collecting patients by matching: “I was diagnosed with X” in tweets
Prediction of 4 kinds of disorder
Predicting Depression via Social Media - Microsoft (M De Choudhury, M
Gamon, S Counts, E Horvitz - ICWSM, 2013)
Collecting data from Amazon Turks and purchased Twitter data.
Able to predict an user having depression disorder before a formal diagnosis
Two important related works are as following:
700 Million Tweets from Oct 2014 to Aug 2015
Only 8 Bipolar and 3 BPD patients are found
Background
Bipolar Disorder:
*Unstable and impulsive emotions
Cycling between Maniac and Depression episodes
Borderline Personality Disorder:
*Unstable and impulsive emotions
Impaired social interactions
Framework
Data Collecting
A community portals is
a Twitter account which
is followed by a lot of
patients.
The community portals can
be found by searching for
the disorder on the Twitter
website.
Keywords
Filter
Manual
Verification
Collect
Followers
(REST API)
Randomly
Sample Users
(Streaming API &
REST API)
Manually Collect
Community
Portals
Tweets of Patients ,
Experts and Random
Samples
Collect
Tweets
(REST API)
1
Data Collecting
Download Followers of
Community Patients.
(5000 followers for each portal in this study)
Filter out suspicious patients
from follower profiles by
keywords:
BPD and Bipolar in this study
Manually label the users as
patients, experts and
non-related.
Keywords
Filter
Manual
Verification
Collect
Followers
(REST API)
Randomly
Sample Users
(Streaming API &
REST API)
Manually Collect
Community
Portals
Tweets of Patients ,
Experts and Random
Samples
Collect
Tweets
(REST API)
2
3
4
A BPD patient
A BPD Expert
Data Collecting Download Tweets by REST API
(3200 tweets at most, exclude retweets)
1. Randomly sample English
spoken users by Twitter
Streaming API
2. Download Tweets by REST
API
(3200 tweets at most, exclude retweets)
Keywords
Filter
Manual
Verification
Collect
Followers
(REST API)
Randomly
Sample Users
(Streaming API &
REST API)
Manually Collect
Community
Portals
Tweets of Patients ,
Experts and Random
Samples
Collect
Tweets
(REST API)
6
5
Data Collected Group Users
Random Samples 823
Bipolar 798
BPD 427
Bipolar Experts 54
BPD Experts 42
We assume theses random sampled Twitter users and experts does not
have Bipolar or BPD
Because prevalence of Bipolar is 2.6% and BPD is 1.6% (*) in United States. It
shouldn’t seriously damage the predictive performance
National Insititute of Mental Helath:
http://www.nimh.nih.gov/health/statistics/prevalence/index.shtml
Preprocessing
Sentiment
140 API
Emotion
Classificatio
n API
Processed Data of
Patients, Experts and
Random Samples
Spam and Inactive
User Filter
1. Tweets amount > 100
2. Tweets contain hyperlink lower
than 50%
Positive Negtaive Neutral
Data after preprocessing
Group Users Tweets Averaged
Tweets
Random
Samples
548 796957 1454.3
Bipolar
Patients
278 347774 1250.99
BPD Patients 203 225774 1112.19
Bipolar Experts 11 14056 1611.67
BPD Experts 9 19696 1790.55
Feature Extraction
1
TF-IDF
Features
LIWC Features
Pattern of
Life
Features
TF-IDF
Calculation
LIWC
Counting
Polarity
Extraction
Emotions
Extraction
Age Gender
Prediction
Social
Behavior
Extraction
Open vocabulary approach by
calculating unigram and bigram
Personal behaviors: Emotional Pattern,
Social Interactions and Profiles Data
64 Categories of Psychological
Dictionary
Feature Extraction :
Pattern of Life Features
Proposed by Coppersmith et al. We further improve it as following :
1. Polarity: Positive and negative percentages, Positive
and negative combos ratio, Flips ratios
2. Emotions: Percentage of eight emotions
3. Age and Gender: Inferred age and gender(*)
4. Social Interactions: Mentioning Rate, Frequent menting
Counts, Unique Mentioning Counts
Schwartz, H. Andrew, et al. "Personality, gender, and age in the
language of social media: The open-vocabulary approach." PloS one
8.9 (2013): e73791.
APA
Feature Extraction: Illustration of combos and Flips
3 min 900 min 18 min 15 min 800 min 200 min
1 Flips 3 Negative Combos
Flip Ratio = 1 / 7
Negative Combo Ratio = 3 / 7
Time interval between tweets
Flip Time threshold: 30 min
Combo Time threshold: 120 min
Classifiers Training and Evaluations
TF-IDF Models
Pattern of
Life Models
LIWC Models
Random Forest
Classifier Training
10-Fold Cross
Validation Test
Selection Bias
Test
Limited Data
Test
Classifiers Training and Evaluations
TF-IDF Models
Pattern of
Life Models
LIWC Models
Random Forest
Classifier Training
10-Fold Cross
Validation Test
Limited Data
Test
Selection Bias
Test
Shows relationship between
precision and recall
Randomly split data into 10 chunks, 9
chunks for training and 1 chunks for
testing. And calculate the precision and
recall after multiple iteration
Evaluations on Bipolar: 10-fold Cross Validation
Area Under the Curve:
Pattern of
Life
0.90
LIWC 0.91
TF-IDF 0.96
Evaluations on BPD: 10-fold Cross Validation
Area Under the Curve:
Pattern of
Life
0.91
LIWC 0.90
TF-IDF 0.96
Classifiers Training and Evaluations
TF-IDF Models
Pattern of
Life Models
LIWC Models
Random Forest
Classifier Training
10-Fold Cross
Validation Test
Selection Bias
Test
Selection Bias
Test
To see if model is predicting
people having disorder or just
talking about it
11 Bipolar experts 9 BPD experts as
the testing data. It shows the
tendency of classifiers mis-classified
experts as patients
Selection Bias Test
TOP 10 Keywords from TF-IDF Classifier
Bipolar BPD
mentalhealth dbt
meds feeling
blog borderline
therapy helps
anxiety self harm
thoughts psychiatrist
feel better cpn
electroboyusa disorder
health bpdchat
bipolarblogger depression
TF-IDF Classifier has the tendency to
detect
people who are talking about disorder
Classifiers Training and Evaluations
TF-IDF Models
Pattern of
Life Models
LIWC Models
Random Forest
Classifier Training
10-Fold Cross
Validation Test
Limited Data
Test
Selection Bias
Test
Reveals how precision changes
when the tweets are limited.
Similar to 10-fold cross validation,
but the testing data are extracted
only from the latest K tweets
Evaluations on Bipolar: Limited Tweets Precision
Evaluations on BPD: Limited Tweets Precision
Conclusion:
How to efficiently collect the tweets data patients?
We proposed an efficient and accessible way to collect
tweets of patients
How to correctly detect mental disorder patients?
We suggested that Pattern of Life Model gives high
precision and low bias

More Related Content

What's hot

Digital Inclusion: Social Determinant of Health
Digital Inclusion: Social Determinant of Health Digital Inclusion: Social Determinant of Health
Digital Inclusion: Social Determinant of Health Iris Thiele Isip-Tan
 
Sociable! 'App-y Hour: Social Media and Technology in Oncology Pharmacy
Sociable! 'App-y Hour: Social Media and Technology in Oncology PharmacySociable! 'App-y Hour: Social Media and Technology in Oncology Pharmacy
Sociable! 'App-y Hour: Social Media and Technology in Oncology PharmacyChristopher B. Ralph
 
Social Media & Health: Safety Concerns
Social Media & Health: Safety Concerns Social Media & Health: Safety Concerns
Social Media & Health: Safety Concerns Iris Thiele Isip-Tan
 
Leveraging Social Media for Healthcare Providers
Leveraging Social Media for Healthcare ProvidersLeveraging Social Media for Healthcare Providers
Leveraging Social Media for Healthcare ProvidersGreenway Health
 
Managing Social Media Presence (for Doctors)
Managing Social Media Presence (for Doctors)Managing Social Media Presence (for Doctors)
Managing Social Media Presence (for Doctors)Iris Thiele Isip-Tan
 
Twitter 103 Trolls, Malware and Spam
Twitter 103   Trolls, Malware and SpamTwitter 103   Trolls, Malware and Spam
Twitter 103 Trolls, Malware and SpamMatthew Katz
 
Social media and the Oncology Nurse
Social media and the Oncology NurseSocial media and the Oncology Nurse
Social media and the Oncology NurseDee Chaudhary
 
Top 7 Physicians Networks for you to Join as a Medical Professional
Top 7 Physicians Networks for you to Join as a Medical ProfessionalTop 7 Physicians Networks for you to Join as a Medical Professional
Top 7 Physicians Networks for you to Join as a Medical ProfessionalNet Pro Referral
 
Social media and cancer communities
Social media and cancer communitiesSocial media and cancer communities
Social media and cancer communitiesMatthew Katz
 
Social Media Final
Social Media FinalSocial Media Final
Social Media FinalEric Newman
 
Cancer Care in a Post Truth World
Cancer Care in a Post Truth World Cancer Care in a Post Truth World
Cancer Care in a Post Truth World Matthew Katz
 
Healthcare professionals on Twitter
Healthcare professionals on TwitterHealthcare professionals on Twitter
Healthcare professionals on TwitterCREATION
 
Social Media and Medicine: Relevance to Cancer Care
Social Media and Medicine: Relevance to Cancer CareSocial Media and Medicine: Relevance to Cancer Care
Social Media and Medicine: Relevance to Cancer CareMatthew Katz
 
Social Media in Medicine: A Podium Without Boundaries
Social Media in Medicine: A Podium Without BoundariesSocial Media in Medicine: A Podium Without Boundaries
Social Media in Medicine: A Podium Without BoundariesAli Bonar
 
Social Media and MCR Readmissions
Social Media and MCR ReadmissionsSocial Media and MCR Readmissions
Social Media and MCR ReadmissionsMark Ryan
 
Take two tweets social media for doctors
Take two tweets social media for doctorsTake two tweets social media for doctors
Take two tweets social media for doctorsChristian Sinclair
 
22 Reasons Why Social Media is the Future of Patient Relationships
22 Reasons Why Social Media is the Future of Patient Relationships22 Reasons Why Social Media is the Future of Patient Relationships
22 Reasons Why Social Media is the Future of Patient RelationshipsNicole Stagg
 
Incorporating Social Media into the Clinical Trial Process
Incorporating Social Media into the Clinical Trial ProcessIncorporating Social Media into the Clinical Trial Process
Incorporating Social Media into the Clinical Trial ProcessKatja Reuter, PhD
 

What's hot (20)

Digital Inclusion: Social Determinant of Health
Digital Inclusion: Social Determinant of Health Digital Inclusion: Social Determinant of Health
Digital Inclusion: Social Determinant of Health
 
Sociable! 'App-y Hour: Social Media and Technology in Oncology Pharmacy
Sociable! 'App-y Hour: Social Media and Technology in Oncology PharmacySociable! 'App-y Hour: Social Media and Technology in Oncology Pharmacy
Sociable! 'App-y Hour: Social Media and Technology in Oncology Pharmacy
 
Social Media & Health: Safety Concerns
Social Media & Health: Safety Concerns Social Media & Health: Safety Concerns
Social Media & Health: Safety Concerns
 
Leveraging Social Media for Healthcare Providers
Leveraging Social Media for Healthcare ProvidersLeveraging Social Media for Healthcare Providers
Leveraging Social Media for Healthcare Providers
 
Managing Social Media Presence (for Doctors)
Managing Social Media Presence (for Doctors)Managing Social Media Presence (for Doctors)
Managing Social Media Presence (for Doctors)
 
Twitter 103 Trolls, Malware and Spam
Twitter 103   Trolls, Malware and SpamTwitter 103   Trolls, Malware and Spam
Twitter 103 Trolls, Malware and Spam
 
Use of Social Media in Radiology
Use of Social Media in RadiologyUse of Social Media in Radiology
Use of Social Media in Radiology
 
Social media and the Oncology Nurse
Social media and the Oncology NurseSocial media and the Oncology Nurse
Social media and the Oncology Nurse
 
Top 7 Physicians Networks for you to Join as a Medical Professional
Top 7 Physicians Networks for you to Join as a Medical ProfessionalTop 7 Physicians Networks for you to Join as a Medical Professional
Top 7 Physicians Networks for you to Join as a Medical Professional
 
Social media and cancer communities
Social media and cancer communitiesSocial media and cancer communities
Social media and cancer communities
 
Social Media Final
Social Media FinalSocial Media Final
Social Media Final
 
Cancer Care in a Post Truth World
Cancer Care in a Post Truth World Cancer Care in a Post Truth World
Cancer Care in a Post Truth World
 
Healthcare professionals on Twitter
Healthcare professionals on TwitterHealthcare professionals on Twitter
Healthcare professionals on Twitter
 
Social Media and Medicine: Relevance to Cancer Care
Social Media and Medicine: Relevance to Cancer CareSocial Media and Medicine: Relevance to Cancer Care
Social Media and Medicine: Relevance to Cancer Care
 
Social Media & Healthcare
Social Media & HealthcareSocial Media & Healthcare
Social Media & Healthcare
 
Social Media in Medicine: A Podium Without Boundaries
Social Media in Medicine: A Podium Without BoundariesSocial Media in Medicine: A Podium Without Boundaries
Social Media in Medicine: A Podium Without Boundaries
 
Social Media and MCR Readmissions
Social Media and MCR ReadmissionsSocial Media and MCR Readmissions
Social Media and MCR Readmissions
 
Take two tweets social media for doctors
Take two tweets social media for doctorsTake two tweets social media for doctors
Take two tweets social media for doctors
 
22 Reasons Why Social Media is the Future of Patient Relationships
22 Reasons Why Social Media is the Future of Patient Relationships22 Reasons Why Social Media is the Future of Patient Relationships
22 Reasons Why Social Media is the Future of Patient Relationships
 
Incorporating Social Media into the Clinical Trial Process
Incorporating Social Media into the Clinical Trial ProcessIncorporating Social Media into the Clinical Trial Process
Incorporating Social Media into the Clinical Trial Process
 

Similar to Mental Disorder Detection on Twitter

Subconscious Crowdsourcing: A Feasible Data Collection Mechanism for Mental D...
Subconscious Crowdsourcing: A Feasible Data Collection Mechanism for Mental D...Subconscious Crowdsourcing: A Feasible Data Collection Mechanism for Mental D...
Subconscious Crowdsourcing: A Feasible Data Collection Mechanism for Mental D...Elvis Saravia
 
STARS_presentation_EthanNg_2016_pdf
STARS_presentation_EthanNg_2016_pdfSTARS_presentation_EthanNg_2016_pdf
STARS_presentation_EthanNg_2016_pdfEthan Ng
 
Swapnil soni Thesis_Presentation
Swapnil soni Thesis_PresentationSwapnil soni Thesis_Presentation
Swapnil soni Thesis_PresentationSwapnil Soni
 
Domain Specific Document Retrieval Framework for Near Real-time Social Health...
Domain Specific Document Retrieval Framework for Near Real-time Social Health...Domain Specific Document Retrieval Framework for Near Real-time Social Health...
Domain Specific Document Retrieval Framework for Near Real-time Social Health...Artificial Intelligence Institute at UofSC
 
Identifying and Engaging Risk Stratified Patient Populations
Identifying and Engaging Risk Stratified Patient PopulationsIdentifying and Engaging Risk Stratified Patient Populations
Identifying and Engaging Risk Stratified Patient PopulationsSteve Wallace, DPS, MBA
 
Mental Illness to Master's Degree: Holistic Psychiatric Information Technology
Mental Illness to Master's Degree: Holistic Psychiatric Information TechnologyMental Illness to Master's Degree: Holistic Psychiatric Information Technology
Mental Illness to Master's Degree: Holistic Psychiatric Information TechnologydrBretta Grant
 
WSDM2015Tutorial.pdf
WSDM2015Tutorial.pdfWSDM2015Tutorial.pdf
WSDM2015Tutorial.pdfssuser2c7393
 
1Running Head Health Policy, Politics and Perspectives2He.docx
1Running Head Health Policy, Politics and Perspectives2He.docx1Running Head Health Policy, Politics and Perspectives2He.docx
1Running Head Health Policy, Politics and Perspectives2He.docxaulasnilda
 
Reviewing Apps: Taking Evaluation Skills Outside of the Library
Reviewing Apps: Taking Evaluation Skills Outside of the LibraryReviewing Apps: Taking Evaluation Skills Outside of the Library
Reviewing Apps: Taking Evaluation Skills Outside of the LibraryCULS
 
Alan turing uva-presentationdec-2019
Alan turing uva-presentationdec-2019Alan turing uva-presentationdec-2019
Alan turing uva-presentationdec-2019Victoria López
 
Resilience tech
Resilience techResilience tech
Resilience techHopeLab
 
What Do Patients Really Want Out Of Adherence Technology?
What Do Patients Really Want Out Of Adherence Technology?What Do Patients Really Want Out Of Adherence Technology?
What Do Patients Really Want Out Of Adherence Technology?Inspire
 
Argumentative Essay Powerpoint Presentation
Argumentative Essay Powerpoint PresentationArgumentative Essay Powerpoint Presentation
Argumentative Essay Powerpoint PresentationLakeisha Johnson
 
Utilizing Social Health Websites for Cognitive Computing and Clinical Decisio...
Utilizing Social Health Websites for Cognitive Computing and Clinical Decisio...Utilizing Social Health Websites for Cognitive Computing and Clinical Decisio...
Utilizing Social Health Websites for Cognitive Computing and Clinical Decisio...CrowdTruth
 
How To Get Your Research Published in the BMJ
How To Get Your Research Published in the BMJHow To Get Your Research Published in the BMJ
How To Get Your Research Published in the BMJbmjslides
 
Does Social Psychology Really Have More Retractions?
Does Social Psychology Really Have More Retractions?Does Social Psychology Really Have More Retractions?
Does Social Psychology Really Have More Retractions?Ivan Oransky
 
Does Social Psychology Really Have More Retractions?
Does Social Psychology Really Have More Retractions?Does Social Psychology Really Have More Retractions?
Does Social Psychology Really Have More Retractions?RetractionWatch
 
Healthcare Social Media: The Conversation That Is Defining Your Brand
Healthcare Social Media: The Conversation That Is Defining Your BrandHealthcare Social Media: The Conversation That Is Defining Your Brand
Healthcare Social Media: The Conversation That Is Defining Your BrandNM Incite
 

Similar to Mental Disorder Detection on Twitter (20)

Subconscious Crowdsourcing: A Feasible Data Collection Mechanism for Mental D...
Subconscious Crowdsourcing: A Feasible Data Collection Mechanism for Mental D...Subconscious Crowdsourcing: A Feasible Data Collection Mechanism for Mental D...
Subconscious Crowdsourcing: A Feasible Data Collection Mechanism for Mental D...
 
Health Literacy for COPD Educators
Health Literacy for COPD EducatorsHealth Literacy for COPD Educators
Health Literacy for COPD Educators
 
STARS_presentation_EthanNg_2016_pdf
STARS_presentation_EthanNg_2016_pdfSTARS_presentation_EthanNg_2016_pdf
STARS_presentation_EthanNg_2016_pdf
 
Swapnil soni Thesis_Presentation
Swapnil soni Thesis_PresentationSwapnil soni Thesis_Presentation
Swapnil soni Thesis_Presentation
 
Domain Specific Document Retrieval Framework for Near Real-time Social Health...
Domain Specific Document Retrieval Framework for Near Real-time Social Health...Domain Specific Document Retrieval Framework for Near Real-time Social Health...
Domain Specific Document Retrieval Framework for Near Real-time Social Health...
 
Identifying and Engaging Risk Stratified Patient Populations
Identifying and Engaging Risk Stratified Patient PopulationsIdentifying and Engaging Risk Stratified Patient Populations
Identifying and Engaging Risk Stratified Patient Populations
 
Mental Illness to Master's Degree: Holistic Psychiatric Information Technology
Mental Illness to Master's Degree: Holistic Psychiatric Information TechnologyMental Illness to Master's Degree: Holistic Psychiatric Information Technology
Mental Illness to Master's Degree: Holistic Psychiatric Information Technology
 
WSDM2015Tutorial.pdf
WSDM2015Tutorial.pdfWSDM2015Tutorial.pdf
WSDM2015Tutorial.pdf
 
1Running Head Health Policy, Politics and Perspectives2He.docx
1Running Head Health Policy, Politics and Perspectives2He.docx1Running Head Health Policy, Politics and Perspectives2He.docx
1Running Head Health Policy, Politics and Perspectives2He.docx
 
Reviewing Apps: Taking Evaluation Skills Outside of the Library
Reviewing Apps: Taking Evaluation Skills Outside of the LibraryReviewing Apps: Taking Evaluation Skills Outside of the Library
Reviewing Apps: Taking Evaluation Skills Outside of the Library
 
Alan turing uva-presentationdec-2019
Alan turing uva-presentationdec-2019Alan turing uva-presentationdec-2019
Alan turing uva-presentationdec-2019
 
Resilience tech
Resilience techResilience tech
Resilience tech
 
What Do Patients Really Want Out Of Adherence Technology?
What Do Patients Really Want Out Of Adherence Technology?What Do Patients Really Want Out Of Adherence Technology?
What Do Patients Really Want Out Of Adherence Technology?
 
Argumentative Essay Powerpoint Presentation
Argumentative Essay Powerpoint PresentationArgumentative Essay Powerpoint Presentation
Argumentative Essay Powerpoint Presentation
 
Utilizing Social Health Websites for Cognitive Computing and Clinical Decisio...
Utilizing Social Health Websites for Cognitive Computing and Clinical Decisio...Utilizing Social Health Websites for Cognitive Computing and Clinical Decisio...
Utilizing Social Health Websites for Cognitive Computing and Clinical Decisio...
 
How To Get Your Research Published in the BMJ
How To Get Your Research Published in the BMJHow To Get Your Research Published in the BMJ
How To Get Your Research Published in the BMJ
 
Does Social Psychology Really Have More Retractions?
Does Social Psychology Really Have More Retractions?Does Social Psychology Really Have More Retractions?
Does Social Psychology Really Have More Retractions?
 
Does Social Psychology Really Have More Retractions?
Does Social Psychology Really Have More Retractions?Does Social Psychology Really Have More Retractions?
Does Social Psychology Really Have More Retractions?
 
Innovative Insights for Smarter Care: Care Management and Analytics
Innovative Insights for Smarter Care: Care Management and AnalyticsInnovative Insights for Smarter Care: Care Management and Analytics
Innovative Insights for Smarter Care: Care Management and Analytics
 
Healthcare Social Media: The Conversation That Is Defining Your Brand
Healthcare Social Media: The Conversation That Is Defining Your BrandHealthcare Social Media: The Conversation That Is Defining Your Brand
Healthcare Social Media: The Conversation That Is Defining Your Brand
 

Recently uploaded

VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...Suhani Kapoor
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 

Recently uploaded (20)

E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 

Mental Disorder Detection on Twitter

  • 1. Mental Disorder Detection on Twitter: Bipolar Disorder and Borderline Personality Disorder National Tsing Hua University Department of Information System and Application Advisor: Prof. Yi-Shin Chen Student: Chun-Hao Chang
  • 2. Introduction 18.1% people suffer from mental disorder in United States (*) Using Social Network to research on Mental Disorder National Insititute of Mental Helath: http://www.nimh.nih.gov/health/statistics/prevalence/index.shtml Analyze
  • 3. Challenges How to efficiently collect the tweets of patients? How to correctly detect mental disorder patients?
  • 4. Related Works Quantifying Mental Health Signals in Twitter - John Hopkins University(Coppersmith, G., Dredze, M., & Harman, C. (2014)) Automatic collecting patients by matching: “I was diagnosed with X” in tweets Prediction of 4 kinds of disorder Predicting Depression via Social Media - Microsoft (M De Choudhury, M Gamon, S Counts, E Horvitz - ICWSM, 2013) Collecting data from Amazon Turks and purchased Twitter data. Able to predict an user having depression disorder before a formal diagnosis Two important related works are as following:
  • 5. Related Works Quantifying Mental Health Signals in Twitter - John Hopkins University(Coppersmith, G., Dredze, M., & Harman, C. (2014)) Automatic collecting patients by matching: “I was diagnosed with X” in tweets Prediction of 4 kinds of disorder Predicting Depression via Social Media - Microsoft (M De Choudhury, M Gamon, S Counts, E Horvitz - ICWSM, 2013) Collecting data from Amazon Turks and purchased Twitter data. Able to predict an user having depression disorder before a formal diagnosis Two important related works are as following: 700 Million Tweets from Oct 2014 to Aug 2015 Only 8 Bipolar and 3 BPD patients are found
  • 6. Background Bipolar Disorder: *Unstable and impulsive emotions Cycling between Maniac and Depression episodes Borderline Personality Disorder: *Unstable and impulsive emotions Impaired social interactions
  • 8. Data Collecting A community portals is a Twitter account which is followed by a lot of patients. The community portals can be found by searching for the disorder on the Twitter website. Keywords Filter Manual Verification Collect Followers (REST API) Randomly Sample Users (Streaming API & REST API) Manually Collect Community Portals Tweets of Patients , Experts and Random Samples Collect Tweets (REST API) 1
  • 9.
  • 10. Data Collecting Download Followers of Community Patients. (5000 followers for each portal in this study) Filter out suspicious patients from follower profiles by keywords: BPD and Bipolar in this study Manually label the users as patients, experts and non-related. Keywords Filter Manual Verification Collect Followers (REST API) Randomly Sample Users (Streaming API & REST API) Manually Collect Community Portals Tweets of Patients , Experts and Random Samples Collect Tweets (REST API) 2 3 4
  • 13. Data Collecting Download Tweets by REST API (3200 tweets at most, exclude retweets) 1. Randomly sample English spoken users by Twitter Streaming API 2. Download Tweets by REST API (3200 tweets at most, exclude retweets) Keywords Filter Manual Verification Collect Followers (REST API) Randomly Sample Users (Streaming API & REST API) Manually Collect Community Portals Tweets of Patients , Experts and Random Samples Collect Tweets (REST API) 6 5
  • 14. Data Collected Group Users Random Samples 823 Bipolar 798 BPD 427 Bipolar Experts 54 BPD Experts 42 We assume theses random sampled Twitter users and experts does not have Bipolar or BPD Because prevalence of Bipolar is 2.6% and BPD is 1.6% (*) in United States. It shouldn’t seriously damage the predictive performance National Insititute of Mental Helath: http://www.nimh.nih.gov/health/statistics/prevalence/index.shtml
  • 15. Preprocessing Sentiment 140 API Emotion Classificatio n API Processed Data of Patients, Experts and Random Samples Spam and Inactive User Filter 1. Tweets amount > 100 2. Tweets contain hyperlink lower than 50% Positive Negtaive Neutral
  • 16. Data after preprocessing Group Users Tweets Averaged Tweets Random Samples 548 796957 1454.3 Bipolar Patients 278 347774 1250.99 BPD Patients 203 225774 1112.19 Bipolar Experts 11 14056 1611.67 BPD Experts 9 19696 1790.55
  • 17. Feature Extraction 1 TF-IDF Features LIWC Features Pattern of Life Features TF-IDF Calculation LIWC Counting Polarity Extraction Emotions Extraction Age Gender Prediction Social Behavior Extraction Open vocabulary approach by calculating unigram and bigram Personal behaviors: Emotional Pattern, Social Interactions and Profiles Data 64 Categories of Psychological Dictionary
  • 18. Feature Extraction : Pattern of Life Features Proposed by Coppersmith et al. We further improve it as following : 1. Polarity: Positive and negative percentages, Positive and negative combos ratio, Flips ratios 2. Emotions: Percentage of eight emotions 3. Age and Gender: Inferred age and gender(*) 4. Social Interactions: Mentioning Rate, Frequent menting Counts, Unique Mentioning Counts Schwartz, H. Andrew, et al. "Personality, gender, and age in the language of social media: The open-vocabulary approach." PloS one 8.9 (2013): e73791. APA
  • 19. Feature Extraction: Illustration of combos and Flips 3 min 900 min 18 min 15 min 800 min 200 min 1 Flips 3 Negative Combos Flip Ratio = 1 / 7 Negative Combo Ratio = 3 / 7 Time interval between tweets Flip Time threshold: 30 min Combo Time threshold: 120 min
  • 20. Classifiers Training and Evaluations TF-IDF Models Pattern of Life Models LIWC Models Random Forest Classifier Training 10-Fold Cross Validation Test Selection Bias Test Limited Data Test
  • 21. Classifiers Training and Evaluations TF-IDF Models Pattern of Life Models LIWC Models Random Forest Classifier Training 10-Fold Cross Validation Test Limited Data Test Selection Bias Test Shows relationship between precision and recall Randomly split data into 10 chunks, 9 chunks for training and 1 chunks for testing. And calculate the precision and recall after multiple iteration
  • 22. Evaluations on Bipolar: 10-fold Cross Validation Area Under the Curve: Pattern of Life 0.90 LIWC 0.91 TF-IDF 0.96
  • 23. Evaluations on BPD: 10-fold Cross Validation Area Under the Curve: Pattern of Life 0.91 LIWC 0.90 TF-IDF 0.96
  • 24. Classifiers Training and Evaluations TF-IDF Models Pattern of Life Models LIWC Models Random Forest Classifier Training 10-Fold Cross Validation Test Selection Bias Test Selection Bias Test To see if model is predicting people having disorder or just talking about it 11 Bipolar experts 9 BPD experts as the testing data. It shows the tendency of classifiers mis-classified experts as patients
  • 26. TOP 10 Keywords from TF-IDF Classifier Bipolar BPD mentalhealth dbt meds feeling blog borderline therapy helps anxiety self harm thoughts psychiatrist feel better cpn electroboyusa disorder health bpdchat bipolarblogger depression TF-IDF Classifier has the tendency to detect people who are talking about disorder
  • 27. Classifiers Training and Evaluations TF-IDF Models Pattern of Life Models LIWC Models Random Forest Classifier Training 10-Fold Cross Validation Test Limited Data Test Selection Bias Test Reveals how precision changes when the tweets are limited. Similar to 10-fold cross validation, but the testing data are extracted only from the latest K tweets
  • 28. Evaluations on Bipolar: Limited Tweets Precision
  • 29. Evaluations on BPD: Limited Tweets Precision
  • 30. Conclusion: How to efficiently collect the tweets data patients? We proposed an efficient and accessible way to collect tweets of patients How to correctly detect mental disorder patients? We suggested that Pattern of Life Model gives high precision and low bias