SlideShare a Scribd company logo
1 of 35
Monitoring and Predicting
Mental Health using
Morphological and Emotion
Analysis of Twitter Data
Dr. Md. Saddam Hossain Mukta
Assistant Professor, Dept. Of CSE,
United International University
Course Teacher:
MD. Adnanul Islam
Lecturer, Dept. Of CSE,
United International University
Supervisor:
Members
Shah Nafiz Monjoor (011 163 096)
Omar Faruk (011 163 092)
K.M Mahmudul Haque (011 163 077)
Fatema Binte Iqbal (011 163 078)
Mahmuda Akter Mitu (011 163 069)
MOTIVATION
People suffering from mental
health problems facing stigma,
averting them from seeking help.
01
Existing Bengali users
receiving inadequate
mental health care.
03
Lack of knowledge about the
details of therapists available in
Bangladesh.
02
PROBLEMS
Increasing mental disorders leading to suicide
cases.
01
Lack of cost effective applications to address mental health issues.
02
No efficient platform to analyze Bengali or Bengali-English
mix language.
03
OBJECTIVES
Language processing using
Compact Language Detector,
n-gram.
01
Investigating different
approaches to analyze language
such as by using translator,
Bengali, Banglish.
02
Detecting mental disorder using
LIWC, Neural Network, and
Cross Condition Comparisons.
03
Preparing suitable datasets
for Bengali language
extracting from social media.
04
APPLICATIONS
People of all ages, especially adolescents.
01
Social media developers.
02
Hospitals, Doctor chambers, Educational
institute etc.
03
Benchmark Analysis
Youper
Wysa
Sanvello
MindShift
Youper utilizes Artificial
Intelligence to assist users identify,
track, and process their thoughts
and feelings.
Wysa is an artificially intelligent
chat-bot which may coach users to
better deal with daily stresses.
Sanvello uses principles of
CBT(Cognitive Behavioral Therapy) to
assist users with anxiety, depression, or
stress.
Mind-Shift is an app created to produce
tools based on CBT and information to
young adults experiencing anxiety.
Mobile
Applications
Tracking
Mood
Predicting result based on Recommending
Suggestions
Daily
observation
Questionnaire Twitter Tweets
Our App
Comparison Table
Interactions
Login with twitter
View profile
Welcome
conversation
Twitter data &
Questionnaire
to identify mental
condition
Predicting results
& recommending
suggestions
Daily Basis
Observation/
Monitoring
Collecting users
tweets by
using Tweepy
Train machine
to analyze
mental health
Predicting
Result/output
score
Recommend
suggestion & tracking
mental health
in a loop
Filtering &
data cleaning
Conducting
questionnaires
from users directly
Calculate score &
matching with
predefined score
▪ RNN
▪ BERT
Store Results in a
database (Firebase)
Methodology
Datasets
Sources:
• Kaggle
• GitHub
Size of dataset:
• Bangla: 17218
• English: 1047575
Figure: Sample of used dataset(English & Bangla)
● Pandas
● RegEx
Data Cleaning
Implementation and Results
Environment Setup
RNN Model:
Library:
• Pandas
• Tokenizer, pad sequences from
Keras
• TensorFlow library
• Scikit-learn
• Matplot library
• TextBlob
Layers:
• input layer
• Embedding layer
• Lstm (‘64’)
• Globalmaxpooling1D
• Dense layer (‘64’, ‘relu’)
• Dropout (‘0.2’)
• Dense layer (sigmoid)
Loss and optimizer:
• BinaryCrossentropy
• Adam (1e−4)
RNN
Figure: Model training history (Bangla)
Figure: Model training history (English)
Figure: Accuracy vs Validation Accuracy graph (English)
Figure: Loss vs Validation loss graph (English)
Figure: Loss vs Validation loss graph (Bangla) Figure: Accuracy vs Validation Accuracy graph (Bangla)
RNN
Result table test data set using RNN Model:
Train-Model Test Dataset Size Accuracy
Bangla dataset Bangla 1000 0.829
English to Bangla 1000 0.653
English dataset English 1000 0.845
Bangla to English 1000 0.71
Environment Setup
BERT Model:
Library:
• pandas, numpy, Scikit-learn, Matplot library
• Lebel encoder
• Official nlp bert
• Tensorflow Hub
• Bert tokenizer
BERT Model:
Layers:
• input layer (inputwordids, inputmask and segmentids)
• Dropout (‘0.1’)
• Dense layer (softmax)
Loss and optimizer:
• Categorical Crossentropy
• nlp.optimization (1e−4)
BERT
Figure: Model training history (Bangla)
Figure: Model training history (English)
Figure: Accuracy vs Validation Accuracy graph (Bangla)
Figure: Loss vs Validation loss graph (Bangla)
BERT
Figure: Loss vs Validation loss graph (English) Figure: Accuracy vs Validation Accuracy graph (English)
Result table of test data set using BERT Model:
Train-Model Test Dataset Size Accuracy
Bangla dataset Bangla 1000 0.8140
English to Bangla 1000 0.5480
English dataset English 1000 0.8290
Bangla to English 1000 0.7010
Figure: Sample of analyzed tweet
Figure: Pi chart of sentiment analysis
Welcome Conversation
SIGN IN/SIGN UP
with Twitter Account
User Account User Profile
Attempt queries
Continue
Predicted Result
Management
Software constraints Android 4.2 ( Jelly Bean )
Programming
languages
• Python
• Java
Communication
Standards
IEEE 802.11b
Data formats • CSV
• Text
Standards
Hardware constraints Mobile RAM: Minimum of 1 GB, 2 GB is recommended
Design Constraints
❖ Economic Constraint
❖ Health and Safety Constraint
❖ Social Constraint
❖ Ethical Constraint
❖ Manufacturability and Cost
Analysis
❖ Sustainability
Future work
• Increasing accuracy
• Classification of mental disorders
• Binding our model into android platform
• Analyzing with Bangla Phonetics
Conclusion
Our system will benefit the society of
Bangladesh and encourage the citizen to
pay attention to their mental well being.
We are implementing this system in hope
that is will reduce the rate of suicides
and self-destruction in Bangladesh
Hola
Monitoring Mental Health using Twitter Data Analysis

More Related Content

Similar to Monitoring Mental Health using Twitter Data Analysis

SentimentAnalysisofTwitterProductReviewsDocument.pdf
SentimentAnalysisofTwitterProductReviewsDocument.pdfSentimentAnalysisofTwitterProductReviewsDocument.pdf
SentimentAnalysisofTwitterProductReviewsDocument.pdfDevinSohi
 
Filtering out improper user accounts from twitter user accounts for discoveri...
Filtering out improper user accounts from twitter user accounts for discoveri...Filtering out improper user accounts from twitter user accounts for discoveri...
Filtering out improper user accounts from twitter user accounts for discoveri...siramatu-lab
 
Depression Analysis of Bangla Social Media Data using Gated Recurrent Neural ...
Depression Analysis of Bangla Social Media Data using Gated Recurrent Neural ...Depression Analysis of Bangla Social Media Data using Gated Recurrent Neural ...
Depression Analysis of Bangla Social Media Data using Gated Recurrent Neural ...A. Hasib Uddin
 
project sentiment analysis
project sentiment analysisproject sentiment analysis
project sentiment analysissneha penmetsa
 
Data Science - Experiments
Data Science - ExperimentsData Science - Experiments
Data Science - ExperimentsGaurav Marwaha
 
Political Prediction Analysis using text mining and deep learning.pptx
Political Prediction Analysis using text mining and deep learning.pptxPolitical Prediction Analysis using text mining and deep learning.pptx
Political Prediction Analysis using text mining and deep learning.pptxDineshGaikwad36
 
Tech capabilities with_sa
Tech capabilities with_saTech capabilities with_sa
Tech capabilities with_saRobert Martin
 
A Intensified Approach On Enhanced Transformer Based Models Using Natural Lan...
A Intensified Approach On Enhanced Transformer Based Models Using Natural Lan...A Intensified Approach On Enhanced Transformer Based Models Using Natural Lan...
A Intensified Approach On Enhanced Transformer Based Models Using Natural Lan...IRJET Journal
 
Political prediction analysis using text mining and deep learning
Political prediction analysis using text mining and deep learningPolitical prediction analysis using text mining and deep learning
Political prediction analysis using text mining and deep learningVishwambhar Deshpande
 
IRJET - E-Assistant: An Interactive Bot for Banking Sector using NLP Process
IRJET -  	  E-Assistant: An Interactive Bot for Banking Sector using NLP ProcessIRJET -  	  E-Assistant: An Interactive Bot for Banking Sector using NLP Process
IRJET - E-Assistant: An Interactive Bot for Banking Sector using NLP ProcessIRJET Journal
 
Data Science Workshop - day 2
Data Science Workshop - day 2Data Science Workshop - day 2
Data Science Workshop - day 2Aseel Addawood
 
IRJET - Mobile Chatbot for Information Search
 IRJET - Mobile Chatbot for Information Search IRJET - Mobile Chatbot for Information Search
IRJET - Mobile Chatbot for Information SearchIRJET Journal
 
Games to Improve Clinical Practice and Healthcare Administration
Games to Improve Clinical Practice and Healthcare AdministrationGames to Improve Clinical Practice and Healthcare Administration
Games to Improve Clinical Practice and Healthcare AdministrationSeriousGamesAssoc
 
IRJET- Semantic Question Matching
IRJET- Semantic Question MatchingIRJET- Semantic Question Matching
IRJET- Semantic Question MatchingIRJET Journal
 
ML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queriesML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queriesVarun Nathan
 
Multi-lingual Twitter sentiment analysis using machine learning
Multi-lingual Twitter sentiment analysis using machine learning Multi-lingual Twitter sentiment analysis using machine learning
Multi-lingual Twitter sentiment analysis using machine learning IJECEIAES
 
Natural Language Processing: From Human-Robot Interaction to Alzheimer’s Dete...
Natural Language Processing: From Human-Robot Interaction to Alzheimer’s Dete...Natural Language Processing: From Human-Robot Interaction to Alzheimer’s Dete...
Natural Language Processing: From Human-Robot Interaction to Alzheimer’s Dete...Jekaterina Novikova, PhD
 

Similar to Monitoring Mental Health using Twitter Data Analysis (20)

SentimentAnalysisofTwitterProductReviewsDocument.pdf
SentimentAnalysisofTwitterProductReviewsDocument.pdfSentimentAnalysisofTwitterProductReviewsDocument.pdf
SentimentAnalysisofTwitterProductReviewsDocument.pdf
 
Filtering out improper user accounts from twitter user accounts for discoveri...
Filtering out improper user accounts from twitter user accounts for discoveri...Filtering out improper user accounts from twitter user accounts for discoveri...
Filtering out improper user accounts from twitter user accounts for discoveri...
 
Depression Analysis of Bangla Social Media Data using Gated Recurrent Neural ...
Depression Analysis of Bangla Social Media Data using Gated Recurrent Neural ...Depression Analysis of Bangla Social Media Data using Gated Recurrent Neural ...
Depression Analysis of Bangla Social Media Data using Gated Recurrent Neural ...
 
project sentiment analysis
project sentiment analysisproject sentiment analysis
project sentiment analysis
 
Data Science - Experiments
Data Science - ExperimentsData Science - Experiments
Data Science - Experiments
 
Abstract
AbstractAbstract
Abstract
 
Political Prediction Analysis using text mining and deep learning.pptx
Political Prediction Analysis using text mining and deep learning.pptxPolitical Prediction Analysis using text mining and deep learning.pptx
Political Prediction Analysis using text mining and deep learning.pptx
 
Tech capabilities with_sa
Tech capabilities with_saTech capabilities with_sa
Tech capabilities with_sa
 
A Intensified Approach On Enhanced Transformer Based Models Using Natural Lan...
A Intensified Approach On Enhanced Transformer Based Models Using Natural Lan...A Intensified Approach On Enhanced Transformer Based Models Using Natural Lan...
A Intensified Approach On Enhanced Transformer Based Models Using Natural Lan...
 
Text Analytics for Legal work
Text Analytics for Legal workText Analytics for Legal work
Text Analytics for Legal work
 
Political prediction analysis using text mining and deep learning
Political prediction analysis using text mining and deep learningPolitical prediction analysis using text mining and deep learning
Political prediction analysis using text mining and deep learning
 
IRJET - E-Assistant: An Interactive Bot for Banking Sector using NLP Process
IRJET -  	  E-Assistant: An Interactive Bot for Banking Sector using NLP ProcessIRJET -  	  E-Assistant: An Interactive Bot for Banking Sector using NLP Process
IRJET - E-Assistant: An Interactive Bot for Banking Sector using NLP Process
 
Data Science Workshop - day 2
Data Science Workshop - day 2Data Science Workshop - day 2
Data Science Workshop - day 2
 
IRJET - Mobile Chatbot for Information Search
 IRJET - Mobile Chatbot for Information Search IRJET - Mobile Chatbot for Information Search
IRJET - Mobile Chatbot for Information Search
 
Project report
Project reportProject report
Project report
 
Games to Improve Clinical Practice and Healthcare Administration
Games to Improve Clinical Practice and Healthcare AdministrationGames to Improve Clinical Practice and Healthcare Administration
Games to Improve Clinical Practice and Healthcare Administration
 
IRJET- Semantic Question Matching
IRJET- Semantic Question MatchingIRJET- Semantic Question Matching
IRJET- Semantic Question Matching
 
ML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queriesML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queries
 
Multi-lingual Twitter sentiment analysis using machine learning
Multi-lingual Twitter sentiment analysis using machine learning Multi-lingual Twitter sentiment analysis using machine learning
Multi-lingual Twitter sentiment analysis using machine learning
 
Natural Language Processing: From Human-Robot Interaction to Alzheimer’s Dete...
Natural Language Processing: From Human-Robot Interaction to Alzheimer’s Dete...Natural Language Processing: From Human-Robot Interaction to Alzheimer’s Dete...
Natural Language Processing: From Human-Robot Interaction to Alzheimer’s Dete...
 

Recently uploaded

Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 

Recently uploaded (20)

Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 

Monitoring Mental Health using Twitter Data Analysis

  • 1. Monitoring and Predicting Mental Health using Morphological and Emotion Analysis of Twitter Data Dr. Md. Saddam Hossain Mukta Assistant Professor, Dept. Of CSE, United International University Course Teacher: MD. Adnanul Islam Lecturer, Dept. Of CSE, United International University Supervisor:
  • 2. Members Shah Nafiz Monjoor (011 163 096) Omar Faruk (011 163 092) K.M Mahmudul Haque (011 163 077) Fatema Binte Iqbal (011 163 078) Mahmuda Akter Mitu (011 163 069)
  • 3. MOTIVATION People suffering from mental health problems facing stigma, averting them from seeking help. 01 Existing Bengali users receiving inadequate mental health care. 03 Lack of knowledge about the details of therapists available in Bangladesh. 02
  • 4. PROBLEMS Increasing mental disorders leading to suicide cases. 01 Lack of cost effective applications to address mental health issues. 02 No efficient platform to analyze Bengali or Bengali-English mix language. 03
  • 5. OBJECTIVES Language processing using Compact Language Detector, n-gram. 01 Investigating different approaches to analyze language such as by using translator, Bengali, Banglish. 02 Detecting mental disorder using LIWC, Neural Network, and Cross Condition Comparisons. 03 Preparing suitable datasets for Bengali language extracting from social media. 04
  • 6. APPLICATIONS People of all ages, especially adolescents. 01 Social media developers. 02 Hospitals, Doctor chambers, Educational institute etc. 03
  • 7. Benchmark Analysis Youper Wysa Sanvello MindShift Youper utilizes Artificial Intelligence to assist users identify, track, and process their thoughts and feelings. Wysa is an artificially intelligent chat-bot which may coach users to better deal with daily stresses. Sanvello uses principles of CBT(Cognitive Behavioral Therapy) to assist users with anxiety, depression, or stress. Mind-Shift is an app created to produce tools based on CBT and information to young adults experiencing anxiety.
  • 8. Mobile Applications Tracking Mood Predicting result based on Recommending Suggestions Daily observation Questionnaire Twitter Tweets Our App Comparison Table
  • 9. Interactions Login with twitter View profile Welcome conversation Twitter data & Questionnaire to identify mental condition Predicting results & recommending suggestions Daily Basis Observation/ Monitoring
  • 10. Collecting users tweets by using Tweepy Train machine to analyze mental health Predicting Result/output score Recommend suggestion & tracking mental health in a loop Filtering & data cleaning Conducting questionnaires from users directly Calculate score & matching with predefined score ▪ RNN ▪ BERT Store Results in a database (Firebase) Methodology
  • 12. Sources: • Kaggle • GitHub Size of dataset: • Bangla: 17218 • English: 1047575
  • 13. Figure: Sample of used dataset(English & Bangla)
  • 16. Environment Setup RNN Model: Library: • Pandas • Tokenizer, pad sequences from Keras • TensorFlow library • Scikit-learn • Matplot library • TextBlob
  • 17. Layers: • input layer • Embedding layer • Lstm (‘64’) • Globalmaxpooling1D • Dense layer (‘64’, ‘relu’) • Dropout (‘0.2’) • Dense layer (sigmoid) Loss and optimizer: • BinaryCrossentropy • Adam (1e−4)
  • 18. RNN Figure: Model training history (Bangla) Figure: Model training history (English)
  • 19. Figure: Accuracy vs Validation Accuracy graph (English) Figure: Loss vs Validation loss graph (English) Figure: Loss vs Validation loss graph (Bangla) Figure: Accuracy vs Validation Accuracy graph (Bangla) RNN
  • 20. Result table test data set using RNN Model: Train-Model Test Dataset Size Accuracy Bangla dataset Bangla 1000 0.829 English to Bangla 1000 0.653 English dataset English 1000 0.845 Bangla to English 1000 0.71
  • 21. Environment Setup BERT Model: Library: • pandas, numpy, Scikit-learn, Matplot library • Lebel encoder • Official nlp bert • Tensorflow Hub • Bert tokenizer
  • 22. BERT Model: Layers: • input layer (inputwordids, inputmask and segmentids) • Dropout (‘0.1’) • Dense layer (softmax) Loss and optimizer: • Categorical Crossentropy • nlp.optimization (1e−4)
  • 23. BERT Figure: Model training history (Bangla) Figure: Model training history (English)
  • 24. Figure: Accuracy vs Validation Accuracy graph (Bangla) Figure: Loss vs Validation loss graph (Bangla) BERT Figure: Loss vs Validation loss graph (English) Figure: Accuracy vs Validation Accuracy graph (English)
  • 25. Result table of test data set using BERT Model: Train-Model Test Dataset Size Accuracy Bangla dataset Bangla 1000 0.8140 English to Bangla 1000 0.5480 English dataset English 1000 0.8290 Bangla to English 1000 0.7010
  • 26. Figure: Sample of analyzed tweet Figure: Pi chart of sentiment analysis
  • 27. Welcome Conversation SIGN IN/SIGN UP with Twitter Account
  • 28. User Account User Profile Attempt queries Continue
  • 31. Software constraints Android 4.2 ( Jelly Bean ) Programming languages • Python • Java Communication Standards IEEE 802.11b Data formats • CSV • Text Standards Hardware constraints Mobile RAM: Minimum of 1 GB, 2 GB is recommended
  • 32. Design Constraints ❖ Economic Constraint ❖ Health and Safety Constraint ❖ Social Constraint ❖ Ethical Constraint ❖ Manufacturability and Cost Analysis ❖ Sustainability
  • 33. Future work • Increasing accuracy • Classification of mental disorders • Binding our model into android platform • Analyzing with Bangla Phonetics
  • 34. Conclusion Our system will benefit the society of Bangladesh and encourage the citizen to pay attention to their mental well being. We are implementing this system in hope that is will reduce the rate of suicides and self-destruction in Bangladesh Hola