Final Doc Strees Detection
Final Doc Strees Detection
HEALTH DATA
ABSTRACT:
INTRODUCTION
Psychological Stress is becoming a Threat to People’s Health Nowadays. With the rapid pace of
life, more and more people are feeling stressed. According to a worldwide survey reported by
New business in 2010,1 over half of the population have experienced an appreciable rise in stress
over the last two years. Though stress itself is non-clinical and common in our life, excessive and
chronic stress can be rather harmful to people’s physical and mental health. According to
existing research works, long-term stress has been found to be relatedto many diseases, e.g.,
clinical depressions, insomnia etc..Moreover, according to Chinese Center for Disease Control
and Prevention, suicide has become the top cause of deathamong Chinese youth, and excessive
stress is considered tobe a major factor of suicide. All these reveal that the rapidincrease of stress
has become a great challenge to humanhealth and life quality.Thus, there is significant
importance to detect stress before it turns into severe problems. Traditional psychological stress
detection is mainly based on face-to face interviews, self-report questionnaires or wearable
sensors. However, traditional methods are actually reactive, which are usually
laborconsuming,time-costing and hysteretic.
Objective
The objective of the system is in defining a set of attributes for stress detection from
tweet-level and user-level aspects respectively:
2) user-level attributes from user’s weekly tweets. The tweet-level attributes are mainly
composed of linguistic, visual, and social attention (i.e., being liked, re tweeted, or commented)
attributes extracted from a single-tweet’s text, image, and attention list. The user-level attributes
however are composed of: (a) posting behavior attributes as summarized from a user’s weekly
tweet postings; and (b) social interaction attributes extracted from a user’s social interactions
with friends.
Problem Statement
Beyond user’s tweeting contents, the system analyzes the correlation of users’ stress
states and their social interactions on the networks, and addresses the problem from the
standpoints of:
(1) Social interaction content, by investigating the content differences between stressed
and non-stressed users’ social interactions;
(2) Social interaction structure, by investigating the structure differences in terms of
structural diversity, social influence, and strong/weak tie.
Scope
The scope of the project is in detecting users’ psychological stress states from users’
weekly social media data, leveraging tweets’ content as well as users’ social interactions and also
in user-level emotion detection in social networks.
CHAPTER – II
LITERATURE SURVEY
LITERATURE SURVEY (REF ID+SUMMARY TABLE)
Introduction
Disadvantage
Many methodologies have been proposedto detect communities insocial networks. The
proposed methodologies use different data mining algorithms, graph mining algorithms to
achieve the task of detection of communities. Few proposed techniques are like, detection of
community and sub community detection in web scale network [3], detection for distributed
environment inweb scale network[4], detectionin integrated internet of things and social network
architecture [7], and detectionin weighted networks. Personality has been shown to be relevant to
many types of interactions; it has been shown to be useful in predicting job satisfaction,
professional and romantic relationship success, and even preference for different interfaces.Until
now, to accurately gauge users' personalities, it needs to take a personality test and this made it
impractical to use personality analysis in many social media domains.It describes the type of data
collected, our methods of analysis, and the machine learning techniques that allow us to
successfully predict personality. It has the discussion about implications; this has for social
media design, interface design, and broader domains.
Advantages:
Recommender systems may also benefit from integrating predicted personality values.
It achieves large and significant improvements over baseline classification on each
personality factor.
Disadvantages:
A personality trait affects job performance and satisfaction
Algorithm:
Regression Algorithm
Gaussian Process
ZeroR
Traditional psychological stress detection usually relies on the active individual
participation, which makes the detection labor-consuming, time-costing and hysteretic.An
automatic stress detection method from cross-media microblog data is proposed.It constructs a
three-level framework to formulate the problem.It first obtains a set of low-level features from
the tweets and then it defines and extracts middle-level representations based on psychological
and art theories.A Deep Sparse Neural Network is designed to learn the stress categories
incorporating the cross-media attribute.
Advantages:
The proposed method is effective and efficient on detecting psychological stress from
microblog data.
Using the framework, the proposed method can help to automatically detect
psychological stress from social networks.
Disadvantages:
Long-term stress may lead to many severe physical and mental problems, such as clinical
depressions, insomnia and even suicide.
Description:
Personality has been shown to be relevant to many types of interactions, it has been
shown to be useful in predicting job satisfaction, professional and romantic relationship
success, and even preference for different interfaces.
Until now, to accurately gauge users' personalities, it needs to take a personality test and
this made it impractical to use personality analysis in many social media domains.
It describes the type of data collected, our methods of analysis, and the machine learning
techniques that allow us to successfully predict personality.
It has the discussion about implications; this has for social media design, interface design,
and broader domains.
Advantages:
Recommender systems may also benefit from integrating predicted personality values.
It achieves large and significant improvements over baseline classification on each
personality factor.
Disadvantages:
A personality trait affects job performance and satisfaction.
Technique:
Machine learning technique
Algorithm:
Regression Algorithm
Gaussian Process
ZeroR
Title 2: Psychological Stress Detection From Cross-Media Microblog Data Using Deep
SparseNeural Network
Author: Huijie Lin, Jia Jia, Quan Guo, Yuanyuan Xue, Jie Huang, Lianhong Cai and Ling Feng
Year: 2014
Description:
Traditional psychological stress detection usually relies on the active individual
participation, which makes the detection labor-consuming, time-costing and hysteretic.
An automatic stress detection method from cross-media microblog data is proposed.
It constructs a three-level framework to formulate the problem.
It first obtains a set of low-level features from the tweets and then it defines and extracts
middle-level representations based on psychological and art theories.
A Deep Sparse Neural Network is designed to learn the stress categories incorporating
the cross-media attributes.
Advantages:
The proposed method is effective and efficient on detecting psychological stress from
microblog data.
Using the framework, the proposed method can help to automatically detect
psychological stress from social networks.
Disadvantages:
Long-term stress may lead to many severe physical and mental problems, such as clinical
depressions, insomnia and even suicide.
TITLE 3: Mood Cast: Emotion Prediction via Dynamic Continuous Factor Graph Model.
AUTHOR NAME: Yuan Zhang, Joe Tang, Jinmen Sun, Yiran Chen, and Jinghai Rao_
DESCRIPTION:
Human emotion is one important underlying force affecting and affected by the dynamics
of social networks.
A Mood Cast method based on a dynamic factor graph model for modeling and
predicting users’ emotions in a social network.
The evolving social ecosystem and our emotion statuses are often influenced by a
complex set of factors.
ADVANTAGES
It can effectively model each user’s emotion status and the prediction performance is
better than several baselines for emotion prediction.
Mass storage capacity and high-speed computing power.
Users need to type the tags whenever they post a resource, so that a good tag
recommendation system can ease the process of finding some useful.
PRELIMINARY INVESTIGATION
The first and foremost strategy for development of a project starts from the thought of
designing a mail enabled platform for a small firm in which it is easy and convenient of sending
and receiving messages, there is a search engine ,address book and also including some
entertaining games. When it is approved by the organization and our project guide the first
activity, ie. Preliminary investigation begins. The activity has three parts:
Request Clarification
Feasibility Study
Request Approval
REQUEST CLARIFICATION
After the approval of the request to the organization and project guide, with an
investigation being considered, the project request must be examined to determine precisely what
the system requires. Here our project is basically meant for users within the company whose
systems can be interconnected by the Local Area Network (LAN). In today’s busy schedule man
need everything should be provided in a readymade manner. So taking into consideration of the
vastly use of the net in day to day life, the corresponding development of the portal came into
existence.
FEASIBILITY ANALYSIS
Operational Feasibility
Economic Feasibility
Technical Feasibility
Operational Feasibility
Operational Feasibility deals with the study of prospects of the system to be developed.
This system operationally eliminates all the tensions of the Admin and helps him in effectively
tracking the project progress. This kind of automation will surely reduce the time and energy,
which previously consumed in manual work. Based on the study, the system is proved to be
operationally feasible.
Economic Feasibility
Technical Feasibility
According to Roger S. Pressman, Technical Feasibility is the assessment of the technical
resources of the organization. The organization needs IBM compatible machines with a graphical
web browser connected to the Internet and Intranet. The system is developed for platform
Independent environment. Java Server Pages, JavaScript, HTML, MYSQL server and WebLogic
Server are used to develop the system. The technical feasibility has been carried out. The system
is technically feasible for development and can be developed with the existing facility.
REQUEST APPROVAL
Not all request projects are desirable or feasible. Some organization receives so many
project requests from client users that only few of them are pursued. However, those projects that
are both feasible and desirable should be put into schedule. After a project request is approved, it
cost, priority, completion time and personnel requirement is estimated and used to determine
where to add it to any project list. Truly speaking, the approval of those above factors,
development works can be launched.
SYSTEM DESIGN AND DEVELOPMENT
INPUT DESIGN
Input Design plays a vital role in the life cycle of software development, it requires very
careful attention of developers. The input design is to feed data to the application as accurate as
possible. So inputs are supposed to be designed effectively so that the errors occurring while
feeding are minimized. According to Software Engineering Concepts, the input forms or screens
are designed to provide to have a validation control over the input limit, range and other related
validations.
This system has input screens in almost all the modules. Error messages are developed to
alert the user whenever he commits some mistakes and guides him in the right way so that
invalid entries are not made. Let us see deeply about this under module design.
Input design is the process of converting the user created input into a computer-based
format. The goal of the input design is to make the data entry logical and free from errors. The
error is in the input are controlled by the input design. The application has been developed in
user-friendly manner. The forms have been designed in such a way during the processing the
cursor is placed in the position where must be entered. The user is also provided with in an
option to select an appropriate input from various alternatives related to the field in certain cases.
Validations are required for each data entered. Whenever a user enters an erroneous data,
error message is displayed and the user can move on to the subsequent pages after completing all
the entries in the current page.
Output Design
The Output from the computer is required to mainly create an efficient method of
communication within the company primarily among the project leader and his team members,
in other words, the administrator and the clients. The output of VPN is the system which allows
the project leader to manage his clients in terms of creating new clients and assigning new
projects to them, maintaining a record of the project validity and providing folder level access to
each client on the user side depending on the projects allotted to him. After completion of a
project, a new project may be assigned to the client. User authentication procedures are
maintained at the initial stages itself. A new user may be created by the administrator himself or
a user can himself register as a new user but the task of assigning projects and validating a new
user rests with the administrator only.
The application starts running when it is executed for the first time. The server has to be started
and then the internet explorer in used as the browser. The project will run on the local area
network so the server machine will serve as the administrator while the other connected systems
can act as the clients. The developed system is highly user friendly and can be easily understood
by anyone using it even for the first time.
CHAPTER – III
SYSTEM ANALYSIS
EXISTING SYSTEM:
DISADVANTAGES:
In this paper, we presented a framework for detecting users’ psychological stress states
from users’ weekly social media data, leveraging tweets’ content as well as users’ social
interactions. Employing real-world social media data as the basis, we studied the correlation
between user’ psychological stress states and their social interaction behaviors. To fully leverage
both content and social interaction information of users’ tweets, we proposed a hybrid model
which combines the factor graph model (FGM) with a convolutional neural network (CNN).
In this work, we also discovered several intriguing phenomena of stress. We found that the
number of social structures of sparse connection (i.e., with no delta connections) of stressed
users is around 14 percent higher than that of non-stressed users, indicating that the social
structure of stressed users’ friends tend to be less connected and less complicated than that of
non-stressed users. These phenomena could be useful references for future related studies.
ADVANTAGES:
SYSTEM SPECIFICATION
Hardware specification:
Hard Disk - 20 GB
Monitor - SVGA
Software specification:
Scripts : JavaScript.
JAVA OVERVIEW
Java is a high-level language that can be characterized by all of the following exhortations.
Simple
Object Oriented
Distributed
Multithreaded
Dynamic
Architecture Neutral
Portable
High performance
Robust
Secure
In the Java programming language, all the source code is first written in plain text files
ending with the .java extension. Those source files are then compiled into .class files by the Java
compiler (javac). A class file does not contain code that is native to your processor; it instead
contains byte codes - the machine language of the Java Virtual Machine. The Java launcher tool
(java) then runs your application with an instance of the Java Virtual Machine.
JAVA PLATFORM:
A platform is the hardware or software environment in which a program runs. The most
popular platforms are Microsoft Windows, Linux, Solaris OS and MacOS. Most platforms can
be described as a combination of the operating system and underlying hardware. The java
platform differs from most other platforms in that it’s a software-only platform that runs on the
top of other hardware-based platforms.
Java Virtual Machine is the base for the java platform and is pored onto various
hardware-based platforms.
The API is a large collection of ready-made software components that provide many
useful capabilities, such as graphical user interface (GUI) widgets. It is grouped into libraries of
related classes and interfaces, these libraries are known as packages.
As a platform-independent environment, the Java platform can be a bit slower than native
code. However, advances in compiler and virtual machine technologies are bringing performance
close to that of native code without threatening portability.
Development Tools:
The development tools provide everything you’ll need for compiling, running,
monitoring, debugging, and documenting your applications. As a new developer, the main tools
you’ll be using are the Java compiler (javac), the Java launcher (java), and the Java
documentation (javadoc).
The API provides the core functionality of the Java programming language. It offers a
wide array of useful classes ready for use in your own applications. It spans everything from
basic objects, to networking and security.
Deployment Technologies:
The JDK provides standard mechanisms such as Java Web Start and Java Plug-In, for
deploying your applications to end users.
The Swing and Java 2D toolkits make it possible to create sophisticated Graphical User
Interfaces (GUIs).
Drag-and-drop support:
Drag-and-drop is, as its name implies, a two step operation. Code must to facilitate
dragging and code to facilitate dropping. Sun provides two classes to help with this namely
DragSource and DropTarget
Swing defines an abstract Look and Feel class that represents all the information central to a
look-and-feel implementation, such as its name, its description, whether it’s a native look-and-
feel- and in particular, a hash table (known as the “Defaults Table”) for storing default values for
various look-and-feel attributes, such as colors and fonts.
Each look-and-feel implementation defines a subclass of Look And Feel (for example,
swing .plaf.motif.MotifLookAndFeel) to provide Swing with the necessary information to
manage the look-and-feel.
The UIManager is the API through which components and programs access look-and-feel
information (They should rarely, if ever, talk directly to a LookAndFeelinstance). UIManager is
responsible for keeping track of which LookAndFeel classes are available, which are installed,
and which is currently the default. The UIManager also manages access to the Defaults Table for
the current look-and-feel.
Remember that components initialize their UI delegate at construct time, therefore, if the
current default changes after they are constructed, they will not automatically update their UIs
accordingly. It is up to the program to implement this dynamic switching by traversing the
containment hierarchy and updating the components individually.
Some IDEs support multiple languages, such as Eclipse, ActiveState Komodo, IntelliJ
IDEA, MyEclipse, Oracle JDeveloper, Eclipse , Codenvy and Microsoft Visual studio GNU
Emacs based on C and Emacs Lisp, and IntelliJ IDEA, Eclipse, MyEclipse or Eclipse , all
based on Java, or MonoDevelop, based on C#. Eclipse and Eclipse have plugins for C/C++,
Ada, GNAT (for example AdaGIDE), Perl, Python, Ruby, and PHP.
IDE Tools
There are many IDE tools available for source code editor, built automation tools and
debugger. Some of the tools are,
Eclipse
Eclipse
Code::Blocks
Code Lite
Dialog Blocks
Eclipse IDE 8.0 is released, also providing new features for Java 8 technologies. It has code
analyzers and editors for working with Java SE 8, Java SE Embedded 8, and Java ME Embedded
8. The IDE also has new enhancements that further improve its support for Maven and Java EE
with PrimeFaces.
Most important highlights are:
1. Tools for Java 8 Technologies. Anyone interested in getting started with lambdas, method
references, streams, and profiles in Java 8 can do so immediately by downloading Eclipse IDE
8. Java hints and code analyzers help you upgrade anonymous inner classes to lambdas, right
across all your code bases, all in one go. Java hints in the Java editor let you quickly and
intuitively switch from lambdas to method references, and back again.
Moreover, Java SE Embedded support entails that you’re able to deploy, run, debug or profile
Java SE applications on an embedded device, such as Raspberry PI, directly from Eclipse IDE.
No new project type is needed for this, you can simply use the standard Java SE project type for
this purpose.
1. Tools for Java EE Developers. The code generators for which Eclipse IDE is well
known have been beefed up significantly. Where before you could create bits and pieces
of code for various popular Java EE component libraries, you can now generate complete
PrimeFaces applications, from scratch, including CRUD functionality and database
connections.
Additionally, the key specifications of the Java EE 7 Platform now have new and enhanced tools,
such as for working with JPA and CDI, as well as Facelets.
Let’s not forget to mention in this regard that Tomcat 8.0 and TomEE are now supported, too,
with a new plugin for WildFly in the Eclipse Plugin Manager.
3. Tools for Maven. A key strength of Eclipse IDE, and a reason why many developers have
started using it over the past years, is its out of the box support for Maven. No need to install a
Maven plugin, since it’s a standard part of the IDE. No need to deal with IDE-specific files, since
the POM provides the project structure.And now, in Eclipse IDE 8.0, there are enhancements to
the graph layouting, enabling you to visualize your POM in various ways, while also being able
to graphically exclude dependencies from the POM file, without touching the XML.
4. Tools for JavaScript. Thanks to powerful new JavaScript libraries and frameworks over the
years, JavaScript as a whole has become a lot more attractive for many developers. For some
releases already, Eclipse IDE has been available as a pure frontend environment, that is, minus
all the Java tools for which it is best known. This lightweight IDE, including Git versioning
tools, provides a great environment for frontend devs. In particular, for users of AngularJS,
Knockout, and Backbone, the IDE comes with deep editor tools, such as code completion and
cross-artifact navigation.In Eclipse IDE 8.0, there’s a very specific focus on AngularJS, since
this is such a dominant JavaScript solution at the moment. From these controllers, you can
navigate, via hyperlinks embedded in the JavaScript editor, to the related HTML views. And, as
shown in this screenshot, you can use code completion inside the HTML editor to access
controllers, and even the properties within the controllers, to help you accurately code the related
artifacts in your AngularJS applications.
Also, remember that there’s no need to download the AngularJS Seed template, since it’s built
into the Eclipse New Project wizard.
5. Tools for HTML5. JavaScript is a central component of the HTML5 Platform, a collective
term for a range of tools and technologies used in frontend development. Popular supporting
technologies are Grunt, a build tool, and Karma, a test runner framework. Both of these are now
supported out of the box in Eclipse IDE 8.0
JDBC (JAVA DATABASE CONNECTIVITY)
In an effort to set an independent database standard API for Java, Sun Microsystems
developed Java Database Connectivity, or JDBC. JDBC offers a generic MYSQL database
access mechanism that provides a consistent interface to a variety of RDBMSs. This consistent
interface is achieved through the use of “plug-in” database connectivity modules, or drivers. If a
database vendor wishes to have JDBC support, he or she must provide the driver for each
platform that the database and Java run on.
To gain a wider acceptance of JDBC, Sun based JDBC’s framework on ODBC. As you
discovered earlier in this chapter, ODBC has widespread support on a variety of platforms.
Basing JDBC on ODBC will allow vendors to bring JDBC drivers to market much faster than
developing a completely new connectivity solution.
JDBC was announced in March of 1996. It was released for a 90 day public review that
ended June 8, 1996. Because of user input, the final JDBC v1.0 specification was released soon
after.
The remainder of this section will cover enough information about JDBC for you to know
what it is about and how to use it effectively. This is by no means a complete overview of JDBC.
That would fill an entire book.
JDBC Goals
Few software packages are designed without goals in mind. JDBC is one that, because of
its many goals, drove the development of the API. These goals, in conjunction with early
reviewer feedback, have finalized the JDBC class library into a solid framework for building
database applications in Java.
The goals that were set for JDBC are important. They will give you some insight as to why
certain classes and functionalities behave the way they do. The eight design goals for JDBC are
as follows:
1. MYSQL Level API:
The designers felt that their main goal was to define a MYSQL interface for Java.
Although not the lowest database interface level possible, it is at a low enough level for higher-
level tools and APIs to be created. Conversely, it is at a high enough level for application
programmers to use it confidently. Attaining this goal allows for future tool vendors to
“generate” JDBC code and to hide many of JDBC’s complexities from the end user.
2. MYSQL Conformance:
MYSQL syntax varies as you move from database vendor to database vendor. In an effort
to support a wide variety of vendors, JDBC will allow any query statement to be passed through
it to the underlying database driver. This allows the connectivity module to handle non-standard
functionality in a manner that is suitable for its users.
The JDBC MYSQL API must “sit” on top of other common MYSQL level APIs. This
goal allows JDBC to use existing ODBC level drivers by the use of a software interface. This
interface would translate JDBC calls to ODBC and vice versa.
4. Provide a Java interface that is consistent with the rest of the Java system
Because of Java’s acceptance in the user community thus far, the designers feel that
they should not stray from the current design of the core Java system.
History
The history of Microsoft MYSQL Server begins with the first Microsoft MYSQL Server
product - MYSQL Server 1.0, a 16-bit server for the OS/2 operating system in 1989 - and
extends to the current day. As of December 5.1 the following versions are supported by
Microsoft:
The current version is Microsoft MYSQL Server 5.1, released June 1, 5.1. The RTM
version is 13.0.1601.5. MYSQL Server 5.1 is supported on x64 processors only.
MYSQL Process
When you are executing an MYSQL command for any RDBMS, the system determines
the best way to carry out your request and MYSQL engine figures out how to interpret the task.
There are various components included in the process. These components are Query Dispatcher,
Optimization Engines, Classic Query Engine and MYSQL Query Engine, etc. Classic query
engine handles all non-MYSQL queries but MYSQL query engine won't handle logical files.
Data storage
Data storage is a database, which is a collection of tables with typed columns. MYSQL
Server supports different data types, including primary types such as Integer, Float, Decimal,
Char (including character strings), Varchar (variable length character strings), binary (for
unstructured blobs of data), Text (for textual data) among others. The rounding of floats to
integers uses either Symmetric Arithmetic Rounding or Symmetric Round Down (fix) depending
on arguments: SELECT Round(2.5, 0) gives 3.
Buffer management
MYSQL Server buffers pages in RAM to minimize disk I/O. Any 8 KB page can be
buffered in-memory, and the set of all pages currently buffered is called the buffer cache. The
amount of memory available to MYSQL Server decides how many pages will be cached in
memory. The buffer cache is managed by the Buffer Manager. Either reading from or writing to
any page copies it to the buffer cache. Subsequent reads or writes are redirected to the in-
memory copy, rather than the on-disc version. The page is updated on the disc by the Buffer
Manager only if the in-memory cache has not been referenced for some time. While writing
pages back to disc, asynchronous I/O is used whereby the I/O operation is done in a background
thread so that other operations do not have to wait for the I/O operation to complete. Each page
is written along with its checksum when it is written.
MYSQL Server allows multiple clients to use the same database concurrently. As such, it
needs to control concurrent access to shared data, to ensure data integrity-when multiple clients
update the same data, or clients attempt to read data that is in the process of being changed by
another client. MYSQL Server provides two modes of concurrency control: pessimistic
concurrency and optimistic concurrency. When pessimistic concurrency control is being used,
MYSQL Server controls concurrent access by using locks. Locks can be either shared or
exclusive. Exclusive lock grants the user exclusive access to the data-no other user can access the
data as long as the lock is held. Shared locks are used when some data is being read-multiple
users can read from data locked with a shared lock, but not acquire an exclusive lock. The latter
would have to wait for all shared locks to be released.
MYSQLCMD
MYSQLCMD is a command line application that comes with Microsoft MYSQL Server,
and exposes the management features of MYSQL Server. It allows MYSQL queries to be written
and executed from the command prompt. It can also act as a scripting language to create and run
a set of MYSQL statements as a script. Such scripts are stored as a .MYSQL file, and are used
either for management of databases or to create the database schema during the deployment of a
database.
MYSQLCMD was introduced with MYSQL Server 5.0 and this continues with MYSQL
Server 2012 and 2014. Its predecessor for earlier versions was OMYSQL and IMYSQL, which is
functionally equivalent as it pertains to TMYSQL execution, and many of the command line
parameters are identical, although MYSQLCMD adds extra versatility.
The OLAP Services feature available in MYSQL Server version 7.0 is now called MY
MYSQL Server Analysis Services. The term OLAP Services has been replaced with the term
Analysis Services. Analysis Services also includes a new data mining component. The
Repository component available in MYSQL Server version 7.0 is now called Microsoft MY
MYSQL Server Meta Data Services. References to the component now use the term Meta Data
Services. The term repository is used only in reference to the repository engine within Meta Data
Services.
They are,
1. TABLE
2. QUERY
3. FORM
4. REPORT
5. MACRO
1) TABLE:
a) Design View
b) Datasheet View
A)Design View
To build or modify the structure of a table, we work in the table design view. We can specify
what kind of dates will be holed.
B) Datasheet View
To add, edit or analyses the data itself, we work in table’s datasheet view mode.
2) QUERY:
A query is a question that has to be asked to get the required data. Access gathers data
that answers the question from one or more table. The data that make up the answer is either
dynast (if you edit it) or a snapshot (it cannot be edited).Each time we run a query, we get latest
information in the dynast. Access either displays the dynast or snapshot for us to view or perform
an action on it, such as deleting or updating.
3) FORMS:
A form is used to view and edit information in the database record. A form displays only the
information we want to see in the way we want to see it. Forms use the familiar controls such as
textboxes and checkboxes. This makes viewing and entering data easy. We can work with forms
in several views. Primarily there are two views,They are,
a) Design View
b) Form View
To build or modify the structure of a form, we work in form’s design view. We can add control
to the form that are bound to fields in a table or query, includes textboxes, option buttons, graphs
and pictures.
4) REPORT:
A report is used to view and print the information from the database. The report can
ground records into many levels and compute totals and average by checking values from many
records at once. Also the report is attractive and distinctive because we have control over the size
and appearance of it.
5) MACRO:
A macro is a set of actions. Each action in a macro does something, such as opening a form or
printing a report .We write macros to automate the common tasks that work easily and save the
time.
Can contain MYSQL Procedural Language statements and features which support the
statements.
Are supported in the entire DB2 family brand of database products in which many if not
Are easy to implement, because they use a simple high-level, strongly typed language.
Allow you to return multiple result sets to the caller or to a client application.
Allow you to easily access the MYSQL STATE and MYSQLCODE values as special
variables.
in other languages.
Support recursion.
CHAPTER – V
SYSTEM DESIGN
Existing Architecture
Proposed Architecture
Use Case Diagram
View all friend request and Response and Positive and View
negative ,Stress Emotion Tweet reviews
View all your created Tweets and find +ve and –ve
emotion
results
The DFD is also called as bubble chart. It is a simple graphical formalism that can be used to
represent a system in terms of the input data to the system, various processing carried out on
these data, and the output data is generated by the system
End User
The class diagram is the main building block of object oriented modeling. It is used both
for general conceptual modeling of the systematic of the application, and for detailed modeling
translating the models into programming code.In class diagram took the Data Mining user, Data
Mining provider and consumer. In Data Mining user we took the user login and user constraints
for uploading and downloading data. Data Mining Admin must get permission from another Data
Mining admin to access the Data Mining.
Sequence diagram
A sequence diagram in Unified Modeling Language (UML) is a kind of interaction
diagram that shows how processes operate with one another and in what order. It is a construct of
a Message Sequence Chart. Sequence diagrams are sometimes called event diagrams, event
scenarios, and timing diagrams
Web Server
View all friend request and ResponseList Create Tweet by Tweet name, Tweet description,
Tweet Image,Tweet date
all Tweets micro-blog with its user
details
View Revisited product pages
View all your created Tweets and find
View Positive , negative (-)Emotion Tweet pos,neg,Stress emotions on your Tweets
SYSTEM IMPLEMENTATION
Module Description:
Data collection
Tweet Classification
Attribute Categorization
Hybrid model integrating CNN with FGM
Data Collection:
To lead perceptions and assess a successive model, initially gather a set of datasets
utilizing diverse naming techniques.
Social media is publicly sourced information that offers a completely new reference of
data researchers and marketers never had in the past.
With every post, conversation and site or app visit, a user leaves behind pieces of
information about themselves.
Social networks constitute a huge amount of consumer "big data." The average global
Internet user spends two and a half hours daily on social media, and their activity reveals
a great deal about what makes them tick.
Tweet Classification:
Every day millions of twitter user tweetstheir views on various topics using short
messages of 140 characters length.
Tweet classification is a process of classifying the tweets based on the topics using the
keywords of the tweets as feature.
Twitter users tweet their views in the form of short text messages. Twitter topic
classification is classifying the tweets in to a set of predefined classes.
A new tweet classification Method that makes use of tweet features like URL's in the
tweet, tweeted tweets and influential users tweet is proposed.
Attribute Categorization:
A unified hybrid model integrating CNN with FGM to leverage both tweet content
attributes and social interactions to enhance stress detection.
To build several stressed-twitter-posting datasets by different ground-truth labeling
methods from several popular social media platforms and thoroughly evaluate our
proposed method on multiple aspects.
To carry out in-depth studies on a real-world large scale dataset and gain insights on
correlations between social interactions and stress, as well as social structures of stressed
users.
CHAPTER – VII
SYSTEM TESTING
The purpose of testing is to discover errors. Testing is the process of trying to discover
every conceivable fault or weakness in a work product. It provides a way to check the
functionality of components, sub-assemblies, assemblies and/or a finished product. It is the
process of exercising software with the intent of ensuring that the Software system meets its
requirements and user expectations and does not fail in an unacceptable manner. There are
various types of test. Each test type addresses a specific testing requirement.
TYPES OF TESTING
UNIT TESTING
Unit testing involves the design of test cases that validate that the internal program logic
is functioning properly, and that program input produces valid outputs. All decision branches and
internal code flow should be validated. It is the testing of individual software units of the
application .it is done after the completion of an individual unit before integration. This is a
structural testing, that relies on knowledge of its construction and is invasive. Unit tests perform
basic tests at component level and test a specific business process, application, and/or system
configuration. Unit tests ensure that each unique path of a business process performs accurately
to the documented specifications and contains clearly defined inputs and expected results.
Unit testing is usually conducted as part of a combined code and unit test phase of the
software lifecycle, although it is not uncommon for coding and unit testing to be conducted as
two distinct phases.
Field testing will be performed manually and functional tests will be written in detail.
Test objectives:
INTEGRATION TESTING
Integration tests are designed to test integrated software components to determine if they
actually run as one program. Testing is event driven and is more concerned with the basic
outcome of screens or fields. Integration tests demonstrate that although the components were
individually satisfaction, as shown by successfully unit testing, the combination of components is
correct and consistent. Integration testing is specifically aimed at exposing the problems that
arise from the combination of components.
The task of the integration test is to check that components or software applications, e.g.
components in a software system or – one step up – software applications at the company level –
interact without error.
FUNCTIONAL TESTING
Functional tests provide systematic demonstrations that functions tested are available as
specified by the business and technical requirements, system documentation and user manuals.
Business process flows; data fields, predefined processes, and successive processes must
be considered for testing. Before functional testing is complete, additional tests are identified and
the effective value of current tests is determined.
SYSTEM TESTING
System testing ensures that the entire integrated software system meets requirements. It
tests a configuration to ensure known and predictable results. An example of system testing is the
configuration oriented system integration test. System testing is based on process descriptions
and flows, emphsizing pre-driven process links and integration points.
ACCEPTANCE TESTING
User Acceptance Testing is a critical phase of any project and requires significant
participation by the end user. It also ensures that the system meets the functional requirements.
Output Testing
After performing the validation testing, the next step is output testing of the proposed
system, since no system could be useful if it does not produce the required output in the specified
format. Asking the users about the format required by them tests the outputs generated or
displayed by the system under consideration. Hence the output format is considered in 2 ways –
one is on screen and another in printed format.
Validation Checking
Text Field:
The text field can contain only the number of characters lesser than or equal to its size.
The text fields are alphanumeric in some tables and alphabetic in other tables. Incorrect entry
always flashes and error message.
Numeric Field:
The numeric field can contain only numbers from 0 to 9. An entry of any character
flashes an error messages. The individual modules are checked for accuracy and what it has to
perform. Each module is subjected to test run along with sample data. The individually tested
modules are integrated into a single system. Testing involves executing the real data
information is used in the program the existence of any program defect is inferred from the
output. The testing should be planned so that all the requirements are individually tested.
A successful test is one that gives out the defects for the inappropriate data and produces
and output revealing the errors in the system.
LOGIN:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Admin server Login...</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/arial.js"></script>
<script type="text/javascript" src="js/cuf_run.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 16px}
.style3 {
font-size: 24px;
color: #FF0000;
font-family: "Times New Roman", Times, serif;
}
.style4 {
font-size: 18px;
font-family: "Times New Roman", Times, serif;
font-weight: bold;
}
-->
</style>
</head>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html" class="style1"></a></h1>
</div>
<div class="menu">
<ul>
<li><a href="index.html"><span>Home</span></a></li>
<li><a href="U_Login.jsp"><span>OSN User</span></a></li>
<li><a href="A_Login.jsp" class="active"><span>Admin Server</span></a></li>
</ul>
</div>
<div class="clr"></div>
</div>
<div class="headert_text_resize"><img src="images/text_area_img.jpg" alt="" width="395"
height="396" />
<div class="textarea">
<h2>Detecting Stress Based on Social Interactions in Social Networks</h2>
<p> ----- Stress detection, factor graph model, micro-blog, social media, healthcare, social
interaction.</p>
</div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
<div class="body">
<div class="body_resize">
<div class="left">
<h2 align="justify"> </h2>
<tr><td></td>
<td>
<input name="imageField" type="submit" class="style3" id="imageField" value="Login" />
<input name="Reset" type="reset" class="style3" value="Reset" /></td>
</tr>
</p>
<p> </p>
</table>
</form>
</div>
<div class="right">
<h2>Sidebar Menu</h2>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="A_Login.jsp">Admin Server </a></li>
<li><a href="U_Login.jsp">OSN User </a></li>
<li></li>
</ul>
</div>
<div class="clr"></div>
</div>
</div>
<div class="FBG">
<div class="FBG_resize">
<div class="blok">
<h2><span>Image</span> Gallery</h2>
<img src="images/gallery_1.gif" alt="" width="68" height="68" /><img
src="images/gallery_2.gif" alt="" width="68" height="68" /><img src="images/gallery_3.gif"
alt="" width="68" height="68" /><img src="images/gallery_4.gif" alt="" width="68"
height="68" /><img src="images/gallery_5.gif" alt="" width="68" height="68" /><img
src="images/gallery_6.gif" alt="" width="68" height="68" />
<div class="clr"></div>
<h2> </h2>
</div>
<div class="clr"></div>
</div>
</div>
</div>
<div align=center></div></body>
</html>
RESULT:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>All tweets Results ...</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/arial.js"></script>
<script type="text/javascript" src="js/cuf_run.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 16px}
.style2 {color: #FF00FF}
.style3 {color: #00FFFF}
-->
</style>
</head>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html" class="style1"></a></h1>
</div>
<div class="menu">
<ul>
<li><a href="index.html"><span>Home</span></a></li>
<li><a href="U_Login.jsp"><span>OSN User</span></a></li>
<li><a href="A_Login.jsp" class="active"><span>Admin Server</span></a></li>
</ul>
</div>
<div class="clr"></div>
</div>
<div class="headert_text_resize"><img src="images/text_area_img.jpg" alt="" width="395"
height="396" />
<div class="textarea">
<h2>Detecting Stress Based on Social Interactions in Social Networks</h2>
<p> ----- Stress detection, factor graph model, micro-blog, social media, healthcare, social
interaction.</p>
</div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
<div class="body">
<div class="body_resize">
<div class="left">
<h2 class="style2"><em>Results Details... </em></h2>
<p> </p>
<p class="style3">1. <a href="A_ViewPosResults.jsp">View Positive Emotion Analyis</a>
<p class="style3">2. <a href="A_ViewNegResults.jsp">View Negative Emotion
Analysis</a></p>
<p class="style3">3. <a href="A_ViewStressResults.jsp">View Stressed Emotion
Analysis</a></p>
<p> </p>
<p> </p>
<p> </p>
<p align="right" class="style2"> </p>
<p align="right" class="style2"><a href="A_Main.jsp">Back</a></p>
<div class="cleaner_h40"></div>
</div>
</div>
<div class="right">
<h2>Server Menu</h2>
<ul>
<div class="gadget">
<p><a href="A_Main.jsp">Home</a></p>
<p><a href="A_Login.jsp">LogOut </a></p>
<p> </p>
<p class="star"> </p>
</div>
</ul>
</div>
<div class="clr"></div>
</div>
</div>
<div class="FBG">
<div class="FBG_resize">
<div class="blok">
<h2><span>Image</span> Gallery</h2>
<img src="images/gallery_1.gif" alt="" width="68" height="68" /><img
src="images/gallery_2.gif" alt="" width="68" height="68" /><img src="images/gallery_3.gif"
alt="" width="68" height="68" /><img src="images/gallery_4.gif" alt="" width="68"
height="68" /><img src="images/gallery_5.gif" alt="" width="68" height="68" /><img
src="images/gallery_6.gif" alt="" width="68" height="68" />
<div class="clr"></div>
<h2> </h2>
</div>
<div class="clr"></div>
</div>
</div>
</div>
<div align=center></div></body>
</html>
ADMIN:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>All tweets...</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/arial.js"></script>
<script type="text/javascript" src="js/cuf_run.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 16px}
.style6 {
color: #CC0066;
font-style: italic;
font-weight: bold;
}
-->
</style>
</head>
<%@ include file="connect.jsp" %>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html" class="style1"></a></h1>
</div>
<div class="menu">
<ul>
<li><a href="index.html" class="active"><span>Home</span></a></li>
<li><a href="U_Login.jsp"><span>OSN User</span></a></li>
<li><a href="A_Login.jsp"><span>Admin Server</span></a></li>
</ul>
CHAPTER – VIII
CONCLUSION
It presented a framework for detecting users’ psychological stress states from users’ weekly
social media data, leveraging tweets’ content as well as users’ social interactions. Employing
real-world social media data as the basis, we studied the correlation between user’ psychological
stress states and their social interaction behaviors. To fully leverage both content and social
interaction information of users’ tweets, we proposed a hybrid model which combines the factor
graph model (FGM) with a convolution neural network (CNN).In this work, we also discovered
several intriguing phenomena of stress. We found that the number of social structures of sparse
connection (i.e., with no delta connections) of stressed users is around 14 percent higher than that
of non-stressed users, indicating that the social structure of stressed users’ friends tend to be less
connected and less complicated than that of non-stressed users. These phenomena could be
useful references for future related studies.
APPENDICES
SAMPLESCREEN SHOT