On A New Paradigm For Stock Trading Via A Model Free Feedback Controller 2nd Review

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 23

DFD diagram

Level 0
Stock
Reg,
Login

Buyer
Reg,
Login
Buyer
Spell/
Feedback
Grammar
form
check Sentiment
Analysis

Stop word Parsing


Fig: 3.2 Data Flow Diagram
removal/
Stemming

Fig: 3.2 Data Flow Diagram

This diagram shows the overall process of this project


Buyer Reg/Login

Buyer Login

Registration
Input Submit Login

Buyer
Registration

Fig: 3.3 Buyer Registrations

INPUT: Buyer personal details.

OUTPUT: Buyer authentication successful/failure.

ASSEMPTION: The buyer first gives his details to register then the buyer gives his id and
password for authentication if any of the input is in wrong format or wrong match the process
does not execute.
Stock Reg/Login

Input
Staff Registration

Submit
Buyer Login

Login

Spell
Stock /Gramm
Page er check

Fig: 3.4 Stock Registration

INPUT: Stock details.

OUTPUT: Stock authentication successful/failure.

ASSEMPTION: The stock gives his information to register then the stock gives his id and
password for authentication if any of the input is in wrong format or wrong match the process
does not execute.
Spell Check/Grammar Check

Splitting
Feedback Spell Check the
given by user
Sentence
into word

Checking
If Spelling is
each
Office wrong show
word
popup menu

Select the
spelling
Grammar Check
from given
suggestion

A
Sentence Tool Check
A typed by the MS Office Tool
user grammar

Pop’s up a
window if
there is error

Choose the
suggested Stop word
sentence or removal/Stemming
ignore it

Fig: 3.5 Spell check/Grammar Check

INPUT: User feedback sentence

OUTPUT: Spelling and grammar corrected sentence

ASSEMPTION: If there is any spelling or grammar mistakes occurred in the feedback an pop-
up window appears with corrected spelling and grammar.
Stop Word Removal/Stemming:

Stop word Split the Check for Stop Word


Removal/Stemming sentence stop word
into words removal

Sentence If there is
Stemming without stop word
stop ,remove it
word

If there is any
Split the Resultant
word with prefix Parsing
sentence Sentence
or suffix ,then
into word
remove it

Fig: 3.6 Stop word Removal

INPUT: Corrected sentence.

OUTPUT: Standard word’s with no verbs and prefix and suffix

ASSEMPTION: In this process the verbs in the sentence is removed and then the continuous
tense, past tense and feature tense are removed.
Parsing:

Detecting
Tokenizing Tokens
Parsing end of
sentence

Tags Part-Of-Speech
Tagging

Token Finding Parse Sentiment


Analysis

Fig: 3.7 Parsing

INPUT: Standard word’s with no verbs and prefix and suffix.

OUTPUT: words with their parts of speech

ASSEMPTION: Here the sentence is spited in to words and their POS is found and stored in
tokens

Sentiment Analysis:
Sentence
Sentiment with tags Classificatio
Analyze and n
tokens

Finding +v or
–ve word

Calculating
Feedback Database the type of
sentence

Fig: 3.8 Sentiment Analyses

INPUT: Standard word’s with no verbs and prefix and suffix.

OUTPUT: words with their parts of speech

ASSEMPTION: In this sentiment analysis is important module. The system will analyse to
analysis each and every message in related group individually using sentiment analysis. It gives
each and every buyer feedback as positive or negative or average about the stock in the graph
format.

4.3 UML Diagram


Use case Diagram

Reg/login

Stock feedback

Grammar/spell-check

Parsing

Buyer
Stock

Sentiment analysis

+ve,-ve feed back

Original feedback

Figure 4.3.1 Use case Diagram

Class Diagram
Figure 4.3.2 Class Diagram

Sequence Diagram
TCS : Stock.. Adam : Buyer User DB Feed Back DB

Registration

Registration message

Registration

Result message

Login

Login Result

Feedback entry

Selecting stock

Stock id,name

spelling/grammer check

stopword removel

parsing/tokenising

Stemming

Centiment analysus

Feedback report
Logout

login

Login result

View feed back

Graphical representation of ivdividual and overall feedback

logout

Figure 4.3.4 Sequence Diagram

Collaborations Diagram
21: logout

1: Registration
17: login
TCS : User DB
Stock..
2: Registration message
18: Login result

20: Graphical representation of ivdividual and overall feedback

19: View feed back 8: Selecting stock


10: spelling/grammer check 4: Result message
11: stopword removel 3: Registration
6: Login Result
12: parsing/tokenising 5: Login
13: Stemming 9: Stock id,name
14: Centiment analysus 16: Logout

15: Feedback report


Feed Adam :
Back DB Buyer
7: Feedback entry

Figure 4.3.5 Collaborations Diagram

Activity diagram
Registratio
n

Login

Buyer
stock

view Stock
feedback feedback

Spell/Gram
mar check

Stop word
removal/stamming

parsing

sentiment
analysis

-ve/+ve
feedback

Architecture Diagram
Registration User DB Registration

Login Login

View user
feedback Feedback

Stop word removal


Feedback
DB
Parsing/tokenizing

Sentiment analysis

LOGOUT

This project consists of three different process of process which then combined to see the
result; three different processes are as follows

 Buyer process
 GENERAL FEEDBACK process
 Stock process
Buyer Process

IN this process the buyer first has to register. If he is already registered then he can
directly login in to the system if his authentication is successful then he will be redirected in to
the Buyer feed back page where he submits his feedback while submitting this feedback
sentiment analysis process take place which is described in the section 5.2. After submission the
status is stored in the feedback table.

GENERAL FEEDBACK process

The buyer is allowed to give the feedback through the GENERAL FEEDBACK he can
just type the message and send which is stored in general feedback table in sentiment analysis
database before storing the data sentiment analysis take place which is described in section 5.2.

Stock Process

IN this process the stock first has to register. If he is already registered then he can
directly login in to the system if his authentication is successful then he will be redirected in to
the Stock page where he can view suggestion of the buyers and their feedback in graph format.

Home Screen
Buyer Registration form
Above screen shot shows the buyer registration form in which buyer type their personal details
and click submit to register
Stock Registration

Above screen shot shows the Stock registration form in which stock type their personal details
and click submit to register
Buyer/Stock login

This form shows the error message for the invalid id and password
Feedback form

This screen shot shows the user input and their corresponding state

Adding the feedback to the database


GENERAL FEEDBACK Feedback

This form shows the feedback and its state which is inserted to the GENERAL
FEEDBACK table
Stock page

suggestion given by buyer through online


GENERAL FEEDBACK feedback given by buyer

You might also like