Professional Documents
Culture Documents
CHAPTER 1
INTRODUCTION
Mental health disorder, disrupts person’s thinking, feeling, mood, ability and daily
functioning. Nowadays many people or professionals are suffering from mental disorder.
In the modernized world, working professionals are under lots of pressure for reasons
like peer pressure, short deadlines, competition. All these things contribute to building up
mental stress, which slowly leads to mental health disorders.
Globally, mental disorders are leading causes of disability. Mental health problems in
the workplace have serious effects not only for the individual but also for the productivity and
competitiveness of businesses and thus the economy and society as a whole. Employees’
mental health status affects employees’ performance and rates of illness, absenteeism and staff
turnover and, It affects work performance in terms of increase in error rates, poor decision-
making, loss of motivation and commitment, tension and conflicts between colleagues.
Mental health disorder is usually diagnosed based on the individual self-report that
requires questionnaires designed for the detection of the specific patterns of feeling or social
interactions. With proper care and treatment, many individuals will hopefully be able to
recover from mental health disorder or emotional disorder. Our motive is to raise awareness
about mental health disorders. And early prediction of mental health disorder.
Dept. of ISE, CIT, Gubbi. Page 1
PREDICTING MENTAL HEALTH DISORDER USNG MACHINE LEARNING 2021-22
The mental health includes our emotional, psychological and social well-being. mental
disorders are leading causes of disability and It affects a thinking ability of an employee. Mental
health problem that undoubtedly impacts emotions, reasoning, and social interaction of a person.
These issues have shown that mental illness gives serious consequences across societies and
demands. Early prediction of the mental health disorder is difficult.
1.2 Objectives
1.3 Methodology
Planning stage, In this stage we have to plan about prediction of mental health problem.
The queries such as Machine Learning Algorithms in Mental Health, Psychiatric Medical with
Machine Learning Techniques, and Machine Learning in Predicting Mental Health Problems
have been analyzed and planned in this stage.
The analysis phase is started by finding out and investigating the performance of the
machine learning approaches that were used to diagnose or predict mental health problems.
The discussion phase will begin by reviewing the machine learning algorithms used by
the researchers in their experiments to predict the mental problems. Mental health problems
will be divided and categorized into several parts. Then, the performance for the machine
learning techniques will be described and further analyzed in this phase.
The conclusions related to the topic will be highlighted based on the findings and
discussion. Moreover, the prediction of the mental health problems by using machine learning
approaches will be generalized and summarized.
Chapter 2
Mental illness can affect the cognition, emotion, and behaviour among the people. For
children, their ability to learn could be interfered by mental disorders. Besides that, mental
illness can cause inconvenience to the adults, especially in their families, workplaces, and in
the society. There are many types of mental disorders commonly known as mood disorder,
schizophrenia, depression, bipolar disorder, and anxiety.
The mood disorder is serious changes in mood in the form of emotional inconsistency
or abrupt changes/amplification of certain specific emotions, which can be feeling extremely
sad or feeling irritable. When they start interfering or disrupting normal life activities, we call
it mood disorder. And mood disorder can be further characterized in the forms of depression
disorder, mania, hypomania and bipolar disorder. Depression disorder as the name suggests is
synonym to depression, negative feelings start influencing the daily life of a person. Which
includes mood swings, losing interest in daily life events, feeling apathy, hard time sleeping,
losing appetite or feeling overly hungry. Depression in later phases may lead to suicidal
tendencies. Mania is hyperactive state of a person where a person has an excess of both
physical and mental energy, whose symptoms are feeling restless and failing to sit still, easily
getting distracted, not able to focus on a particular thing, having a hard time sleeping, talking
too much.
Anxiety is an emotional response to a future event, which is usually in the form of fear.
Anxiety is a normal emotion but an anxiety disorder is an entirely different case. In which we
feel an excessive amount of fear and anxiety for no reason whatsoever, excess anxiety can
make people skip meetings, avoid social interactions and much more. We can be further
categorized as General anxiety disorder, phobia anxiety disorder, and social anxiety disorder.
2.3 Schizophrenia
2.4 Depression
Bipolar disorder is another mental disorder identified by the episode of mania and
depression. Sometimes, there is an episode mixed with both mania and depression. Mania is
known by irritability, increased in energy, and decreased need for sleep. Individuals that
experience mania often exhibit reckless behaviours. Meanwhile, a depressive episode for
bipolar disorder is almost the same as the depression symptoms. Some studies report some
recovery to baseline functioning between episodes; however, many patients will have residual
symptoms that cause impairment.
CHAPTER 3
Support Vector Machine or SVM is one of the most popular Supervised Learning
algorithms, which is used for Classification as well as Regression problems. However,
primarily, it is used for Classification problems in Machine Learning.
SVM takes data points as input and gives the output as a hyperplane. It divides the
classes using a plane (hyperplane) also known as the decision boundary. Where the
decision boundary must maximize the distance of the nearest element of each class.
Decision boundary separates the points into different classes.
CHAPTER 4
LITERATURE REVIEW
World Health Organization (WHO) reports the region-wise status of different barriers
in diagnosing mental health problems and encourages doctors to be equipped with the scientific
knowledge to address the issue of mental health. Now, there are various techniques to predict
the state of mental health due to advancement of technology. Research in the field of mental
health has increased recently and contributed to the information and publications about
different features of mental health, which can be applied in a wide range of problems. Many
steps are involved in diagnosing mental health problems. Generally, the diagnosis will begin
with a specific interview that is filled with questions about symptoms, medical history, and
physical examination. Besides that, psychological tests and assessment tools are also available
and are used to diagnose a person for mental health problems. There are several types of
research carried out to investigate and examine the movements of the face to identify certain
mental disorders.
Machine learning is an application of artificial intelligence (AI), which implements
systems with the capability to learn and improve from experience without being explicitly
programmed. Machine learning has offered essential advantages to a wide range of areas. In
the medical field, machine learning algorithms have been used to discover new drugs, perform
radiology analysis, predict epidemic outbreaks, and diagnose diseases. Machine learning
approaches continue to develop rapidly. Powerful algorithms and more advanced neural
networks, decision trees, and others were introduced and applied to solve more complicated
medical diagnosis problems.
Generally, machine learning algorithms are tools to analyze the massive medical
datasets. They are utilized as tools in assisting for medical diagnosis as they became more
reliable in their performance.
Train data
Data processing/Feature
selection
Train ML algorithm
Model building
Model Evaluation
Finding Feature
Importance
CHAPTER 5
IMPLIMENTATIONS
The experiments of the classification are conducted with various machine learning
models. It is undeniable that machine learning models such as random forest and support vector
machine have been the most popular choice to be applied in the experiments. This is because
random forest and support vector machine at most of the time are able to provide an excellent
performance in terms of the accuracy.
5.1 Small Sample Size
Machine learning can exhibit robustness when analyzing the large sample size, certain
approaches can perform with a small sample without compromising the accuracy depending
on the settings toward the model applied in the experiments. small sample is common in the
field of mental health because of the cost that is related to the data collection that involves the
human participants and the experimental rules with different conditions are still under
development.
It is believed that deep learning algorithms have been successful for a few
applications, especially in healthcare domains. However, there is still limited exploration in
the use of deep learning algorithms for mental health.
Although machine learning can show the researchers about the prediction on mental
health, there is still a lack of testing being applied in real life due to several reasons. Many
medical professionals still doubt the accuracy of automated methods such as machine learning,
as well as issues of consistency and difficulty when applying the machine learning predictive
systems to real-world medical practices.
The success of applying machine learning approaches in mental health prediction can
be expanded to include deep learning approaches. Such approaches could even predict mental
health problems together with diagnosis of other chronic diseases such as cancer, diabetes, and
others.
The application of new models to predict the clinical results should be given the
research opportunity. Besides, web-based predictors and medical analytics tools should be
developed to transform the effective predictive models into useful clinical decision systems
such as for identifying the different types of mental disorders, medication plans, as well as
preventive plans.
Performance of machine learning models and being explainable are necessary for
mental health problems. Medical professionals need to understand the underlying system of
prediction and classification very well before practising it in the real world and with patients.
Making the results obtained by these models understandable should be the main priority toward
establishing reliable systems.
RESULTS
After applying various machine-learning algorithms when predicting mental health
disorder with selected attributes which are
1. Whether the company is a Tech company or not.
2. Age of the employee.
3. Gender of the employee.
4. Family history of mental health disorders if any.
5. Personal history of a mental health disorder.
6. Mental health benefits or care provided by the employer.
7. Discussing mental health status with the employer.
We got the following results.
positive outputs
S.no Algorithms Accuracy (%) Precision Recall correctly predicted
by the classifier
1. KNN 74 76 82 82
2. SVM 76 75 88 88
3. Logistic Regression 84 82 94 94
4. Decision Tree 84 83 92 92
5. Random Forest 77 81 80 80
6. Naïve bayes 79 78 90 90
CONCLUSION
Many different techniques and algorithms had been introduced and proposed to test
and solve the mental health problems.
After analyzing, we found that decision tree classifier has the best performance. As it
has the best accuracy and precision with accuracy 84% and precision 83 followed by logistic
regression with 84% accuracy and 82 precision followed by Naïve Bayes with 79% accuracy
and 78 precision, random forest with 77% accuracy and 81 precision, SVM with 76% accuracy
and 75 precision and KNN has the worst performance with 74% accuracy and 76 precision.
Also, Feature importance of the selected features showed that a history of mental health
disorder contributes most during disorder prediction followed by family history. It was also
found that rest of the features contributes bare minimum to the prediction with gender as their
top rest of the features which includes mental health benefits or care provided by the employer,
age and discussing mental health status with the employer barely makes any contribution to
the prediction of mental health disorder.
It may also help distinguish and classify the mental health problems among patients for
further treatment.
REFERENCES
1. U. S. Reddy, A. V. Thota, and A. Dharun.” Machine Learning Techniques for Stress
Prediction in working employees.”
2. Jetli Chung and Jason Teo “Mental Health Prediction Using Machine Learning:
Taxonomy, Applications, and Challenges”
3. Praveen Kumar “Mental Health Prediction Based on Social Behaviour”
4. Rahul Katarya “Predicting Mental health disorders using Machine Learning for
employees in technical and non-technical companies”
5. https://www.javatpoint.com/logistic-regression-in-machine-learning
6. https://www.javatpoint.com/k-nearest-neighbor-algorithm-for-machine-learning
7. https://www.javatpoint.com/machine-learning-naive-bayes-classifier
8. https://www.javatpoint.com/machine-learning-random-forest-algorithm
9. https://www.javatpoint.com/machine-learning-decision-tree-classification-
algorithm