- A preview of this full-text is provided by Wiley.
- Learn more
Preview content only
Content available from Expert Systems
This content is subject to copyright. Terms and conditions apply.
Received: 18 November 2018 Revised: 20 February 2019 Accepted: 15 March 2019
DOI: 10.1111/exsy.12409
ORIGINAL ARTICLE
Prediction of postpartum depression using machine learning
techniques from social media text
Iram Fatima1Burhan Ud Din Abbasi2Sharifullah Khan2Majed Al-Saeed1
Hafiz Farooq Ahmad1Rafia Mumtaz2
1College of Computer Sciences and
Information Technology, King Faisal
University, Hofuf, Saudi Arabia
2Schoo l of Elec trical Engineering and
Computer S cience, National University of
Sciences and Technology, Islamabad, Pakistan
Corres pon den ce
Iram Fatima, College of Com puter Sc iences
and Information Technology, King Faisal
University, Hofuf, Saudi Arabia.
Email: ialrehman@kfu. edu.sa
Funding information
Deanship o f Scientific Research, King Faisal
University, Grant/Award Number: 180055
Abstract
Early screening of mental disorders plays a crucial role in diagnosis and treatment. This
study explores how data-driven methods can leverage the information available on social
media platforms to predict postpartum depression (PPD). A generalized approach is proposed
where linguistic features are extracted from user-generated textual posts on social media and
categorized as general, depressive, and PPD representative using multiple machine learning
techniques. We find that techniques used in our study exhibit strong predictive capabilities
for PPD content. Holdout validation showed that multilayer perceptron outperformed other
techniques such as support vector machine and logistic regression used in this study with
91.7% accuracy for depressive content identification and up to 86.9% accuracy for PPD content
prediction. This work adopts a hierarchical approach to predict PPD. Therefore, the reported
PPD accuracy represents the performance of the model to correctly classify PPD content from
non-PPD depressive content.
KEYWORDS
machine learning, mental health, moods and emotions, postpartum depression, social media
1INTRODUCTION
Transition to parenthood is one of the major phases in lives of people impacting various aspects of life, at times even causing negative emotional
impact (Hudson, Elek, & Campbell-Grossman, 2000). These changes seem to affect mothers and fathers both because of their inability to resolve
differences between personal, social, and professional lives (Genesoni & Tallandini, 2009; Woolhouse, McDonald, & Brown, 2012). Postpartum
depression (PPD) is one of the more common disorders diagnosed in parents. Diagnostic and Statistical Manual of Mental Disorders defines PPD
as a major depress ive diso rder with p erip artu m onse t with the mo st recent ep isode o cc urrin g from anyw he re du ring pregnanc y till 4 we eks afte r
childbirth (American Psychiatric Association, 2013). International Classification of Diseases recognizes this disorder up to the period of 6 weeks
after childbirth (World Health Organization, 2004). Percentage of individuals affected from this disorder shows large variation around the world
and can be as high as 63% (Kalyani, Saeed, Rehman, & Mubbashar, 2001). Although mothers are more susceptible to PPD, an estimated 4% of
fathers also experience this disorder (Davé, Petersen, Sherr, & Nazareth, 2010). A study found that 8% of adoptive mothers also experienced
depression possibly due to lifestyle changes (Mott, Schiller, Richards, O'Hara, & Stuart, 2011). On average, 15% of mothers are expected to
be suffering from PPD all over the world. Because no biological measure has been identified to be the cause of PPD, it becomes a challenge
to diagnose PPD considering that changes in appetite, sleep patterns, and excessive fatigue are a norm for women after childbirth (Pearlstein,
Howard, Salisbury, & Zlotnick, 2009).
Researchers have identified various factors as predictors of PPD in individuals who are suffering or at risk (Beck, 1998, 1998, 2001; Reck,
Stehle, Reinig, & Mundt, 2009). Some researchers have designed a series of questions to be answered in order to simplify the process of
identification of PPD (Cox, Holden, & Sagovsky, 1987). Similarly, some have worked on measuring the severity of the depression (Kroenke, Spitzer,
Abbreviations: D-CC, depressive content classification; PPD, postpartum depression; PPD-CC, postpartum depression content classification.
Expert Systems. 2019;36:e12409. wileyonlinelibrary.com/journal/exsy © 2019 John Wiley & Sons, Ltd. 1of13
https:// doi.org/10. 1111/exsy.12409