Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

A

Real-time Research Project/Field-Based Research


Project Report on

IDENTIFICATION OF MESSAGE CONTENTS USING


CLASSIFICATION MODELS IN MACHINE LEARNING

Submitted for partial fulfilment of the requirements for the award of the degree of

BACHELOR OF TECHNOLOGY

in

<< Name>>

by

S. RUCHITHA 22K81AXXXX
M. SRI NITHYA 22K81AXXXX
Y. SAI KRISHNA 22K81AXXXX
T.AMITABH SINGH 22K81AXXXX
1
Under the Guidance of
Mr. N. XXXXXXXXX

PROFESSOR

DEPARTMENT OF << Name>>

St. MARTIN'S ENGINEERING COLLEGE


UGC Autonomous
Affiliated to JNTUH, Approved by AICTE,
Accredited by NBA & NAAC A+, ISO 9001:2008 Certified
Dhulapally, Secunderabad – 500100
www.smec.ac.in
JULY - 2024
St. MARTIN'S ENGINEERING COLLEGE
UGC Autonomous
Affiliated to JNTUH, Approved by AICTE,
Accredited by NBA & NAAC A+, ISO 9001:2008 Certified
Dhulapally, Secunderabad - 500100
www.smec.ac.in

CERTIFICATE

This is to certify that the project entitled “Identification of Message Contents Using
Classification Models in Machine Learning” is being submitted by S. RUCHITHA
(22K81AXXXX), M. SRI NITHYA (22K81AXXXX), Y. SAI KRISHNA
(22K81AXXXX), T. AMITABH SINGH (22K81AXXXX) in fulfilment of the
requirement for the award of degree of BACHELOR OF TECHNOLOGY in << Name>>
is recorded of bonafide work carried out by them. The result embodied in this report have
been verified and found satisfactory.

Internal Guide Head of theDepartment


Mr. XXXX Dr.XXXXXX
Professor Professor and Head of Department
Department of << Name>> Department of << Name>>

Place: Dhulapally, Secunderabad


Date:
St. MARTIN'S ENGINEERING COLLEGE
UGC Autonomous
Affiliated to JNTUH, Approved by AICTE,
Accredited by NBA & NAAC A+, ISO 9001:2008 Certified
Dhulapally, Secunderabad - 500100
www.smec.ac.in

DEPARTMENT OF << Name>>

DECLARATION

We, the students of „Bachelor of Technology in Department of << Name>>’,


session: 2023-2024, St. Martin’s Engineering College, Dhulapally, Kompally,
Secunderabad, hereby declare that the work presented in this project work entitled
Identification of Message Contents using Classification Models in Machine Learning is
the outcome of our own bonafide work and is correct to the best of our knowledge and this
work has been undertaken taking care of Engineering Ethics. This result embodied in this
project report has not been submitted in any university for award of any degree.

S. Ruchitha 22K81AXXXX

M. Sri Nithya 22K81AXXXX

Y. Sai Krishna 22K81AXXXX

T. Amitabh Singh 22K81AXXXX


ACKNOWLEDGEMENT

The satisfaction and euphoria that accompanies the successful completion of any task
would be incomplete without the mention of the people who made it possible and whose
encouragement and guidance have crowded our efforts with success.

First and foremost, we would like to express our deep sense of gratitude and
indebtedness to our College Management for their kind support and permission to use the
facilities available in the Institute.

We especially would like to express our deep sense of gratitude and indebtedness to
Dr. P. SANTOSH KUMAR PATRA, Professor and Group Director, St. Martin‟s
Engineering College, Dhulapally, for permitting us to undertake this project.

We wish to record our profound gratitude to Dr. M. SREENIVAS RAO, Principal, St.
Martin‟s Engineering College, for his motivation and encouragement.

We are also thankful to Dr. XXXXX, Head of the Department, Department of <<
Name>>, St. Martin‟s Engineering College, Dhulapally, Secunderabad, for his support and
guidance throughout our project as well as Project Coordinator Mr. XXXX , Professor,
Department of <<Name>> for his valuablesupport.

We would like to express our sincere gratitude and indebtedness to our project
supervisor Mr. XXXXX, Professor, Department of Information Technology, St. Martins
Engineering College, Dhulapally, for his support and guidance throughout our project.

Finally, we express thanks to all those who have helped us successfully completing this
project. Furthermore, we would like to thank our family and friends for the immoral support and
encouragement. We express thanks to all those who have helped us in successfully completing
theproject.

S. Ruchitha 22K81AXXXX

M. Sri Nithya 22K81AXXXX

Y. Sai Krishna 22K81AXXXX

T. Amitabh Singh 22K81AXXXX

i
ABSTRACT

This project describes content analysis of text with to identify suicidal


tendencies and types. This article also describes how to make a sentence classifier that
uses a neural network created using various libraries created for machine learning in
the Python programming language. Attention is paid to the problem of teenage suicide
and «groups of death» in social networks, the search for ways to stop the propaganda
of suicide among minors. Analysis of existing information about so-called groups of
death and its distribution on the Internet.

ii
LIST OF FIGURES

Figure No. Figure Title Page No.

4.1 CNN for Text Classification 16

4.2 Encoding Words 17

4.3 One-Hot Vector 18

4.4 Max Pooling over Time 19

4.5 Sentiment CNN 20

4.6 System Architecture 20

4.7 Data Flow Diagram 21

4.8 Use Case Diagram 23

4.9 Class Diagram 24

4.10 Sequence Diagram 25

4.11 Activity Diagram 26

6.1 Home page 41

6.2 User registration form 41

6.3 User login form 42

6.4 User home page 42

6.5 Text the message 43

6.6 Result 43

iii
LIST OF TABLES

Table No. Table Name Page No.


4.1 DataSet View 15

iv
LIST OF ACRONYMS AND DEFINITIONS

S.No. Acronym Definition

1. CNN Convolutional Neural Network

2. LSTM Long Short-Term Memory

3. MDP Markov Decision Process

4. NB Naïve Bayes

5. PTSD Post-traumatic Stress Disorder


6. RF Random Forest

7. RNN Recurrent Neural Network

8. SVM Support Vector Machine

9. UML Unified Modelling Language

vi
CONTENTS

ACKNOWLEDGEMENT i
ABSTRACT ii
LIST OF FIGURES iii
LIST OF TABLES v
LIST OF ACRONYMS AND DEFINITIONS vi
CHAPTER 1 INTRODUCTION 01
1.1 Objective 02
1.2 Overview 03

CHAPTER 2 LITERATURE SURVEY 07


CHAPTER 3 SYSTEM ANALYSIS AND DESIGN 13
3.1 Existing System 13

3.2 Proposed System 13

CHAPTER 4 SYSTEM REQUIREMENTS & SPECIFICATIONS 15


4.1 Database 15
4.2 CNN Algorithm 15
4.3 Design 20
4.3.1 System Architecture 20
4.3.2 Data Flow Diagram 21
4.3.3 UML Diagram 22
4.3.4 Use Case Diagram 23
4.3.5 Class Diagram 24
4.3.6 Sequence Diagram 25
4.3.7 Activity Diagram 26
4.4 Modules 27
4.4.1 Modules Description 27
4.5 System Requirements 28
4.5.1 Hardware Requirements 28
4.5.2 Software Requirements 28
4.6 Testing 29
4.6.1 Unit Testing 29
4.6.2 Integration Testing 29
4.6.3 Functional Testing 29
4.6.4 System Testing 30
4.6.5 White Box Testing 30
4.6.6 Black Box Testing 30
4.6.7 Unit Testing 31
4.6.8 Integration Testing 31
4.6.9 Acceptance Testing 31
CHAPTER 5 SOURCE CODE 32
CHAPTER 6 EXPERIMENTAL RESULTS 41
CHAPTER 7 CONCLUSION & FUTURE ENHANCEMENT 48
7.1 CONCLUSION 48
7.2 FUTURE ENHANCEMENT 48
REFERENCES 49
Patent/Publication
CHAPTER 1

INTRODUCTION
Suicide ideation expressed in social media has an impact on language usage. Many at-
risk individuals use social forum platforms to discuss their problems or get access to
information on similar tasks. The key objective of our study is to present ongoing work on
automatic recognition of suicidal posts. We address the early detection of suicide ideation
through deep learning and machine learning-based classification approaches applied to reddit
social media. For such purpose, we employ an LSTM-CNN combined model to evaluate and
compare to other classification models. Our experiment shows the combined neural network
architecture with word embedding techniques can achieve the best relevance classification
results. Additionally, our results support the strength and ability of deep learning
architectures to build an effective model for a suicide risk assessment in various text
classification tasks.
Every year, almost 800,000 people commi suicide. Suicide remains these cause of
death among a young generation with an overall suicide rate of 10.5 per 100,000 people. It is
predicted that by 2020, the death rate will increase to one every 20‟s. Almost 79% of the
suicides occur in low- and middle-income countries where the resources for the identification
and management is often scarce and insufficient. Suicide ideation is viewed asa tendency to
end ones‟ life ranging from depression, through a plan for a suicide attempt, to an intense
preoccupation with self-destruction. At-risk individuals can be recognized as suicide ideators
(or planners) and suicide attempters (or completers).
The relationship between these two categories is often a subject of discussion in
research communities. According to some studies, most of the individuals with suicide
ideation do not make suicide attempts. For instance, Klonsky et al believes that most of the
oft-cited risk factors (depression, hopelessness, frustration) connected with suicide are the
predictors of suicide ideation, not the progression from the ideation to attempt. However,
Pompili et al reveals that a suicide ideator and suicide attempter can be quite similar to
“several variables assumed to be risk factors for suicidal behavior”.
In WHO countries, early detection of suicide ideation has been developed and
implemented as a national suicide prevention strategy to work towards the global market with
the common aim to reduce the suicide rates by 10% by 2020.Over recent years, social media
has become a powerful “window” into the mental health and well-being of its users, mostly
young individuals.

You might also like