SEPM Report
SEPM Report
Batch Number: 2
- Aishwarya Lakshmi A P (RA2011026020066)
- Amruthaa S (RA2011026020073)
- Grace Hephzibah M (RA2011026020084)
TABLE OF CONTENTS
DESIGN
7 19/04/2022
7.1 System Architecture
MODELING UML USE CASE
DIAGRAMS & CAPTURING USE
8 26/04/2022 CASE SCENARIOS
8.1 Use Case Diagram Description
8.2 Use Case Diagram
ER MODELING FROM THE
PROBLEM STATEMENTS
9 03/05/2022
9.1 ER Diagram Description
9.2 ER Diagram
IDENTIFYING DOMAIN CLASSES
FROM THE PROBLEM STATEMENTS
10 10/05/2022 10.1 Domain Class Diagram
Description
10.2 Domain Class Diagram
STATECHART AND
COMMUNICATION MODELING
11.1 State Chart Diagram
Description
11 17/05/2022
11.2 State Chart Diagram
11.3 Communication Diagram
Description
11.4 Communication Diagram
MODELING UML CLASS DIAGRAM
& SEQUENCE DIAGRAMS
12.1 Class Diagram Description
12 24/05/2022
12.2 Class Diagram
12.3 Sequence Diagram Description
12.4 Sequence Diagram
MODELING DATA FLOW DIAGRAM
13.1 Data Flow Diagram (DFD)
13 31/05/2022
Description
13.2 Data Flow Diagram (DFD)
IMPLEMENTATION
14 07/06/2022
14.1 Module Implementation
17 28/06/2022 CONCLUSION
18 28/06/2022 REFERENCES
PROJECT COMPLETED
Ex 1. Problem Statement
Date 08/03/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
Problems:
The stock market prediction model
- Hard to provide insights and intuitive forecasts on the future
- To capture the fluidity of the stock changes
- Creates a certain degree of short-sightedness in the entire evaluation process
- Complexity is extremely high and requires intensive prior knowledge in the field
Proposal:
The above problems can be overcome by our Stock Market Prediction Model. Instead of
using pre-processed data, we can feed the model with real-time data which increases
efficiency and reduces the complexities thereby providing higher accuracy.
1.2 One Page Business Case Template
The Project:
To develop a state-of-the-art artificial recurrent neural network, to better forecast the
stock market.
Analyzing and predicting the regularity of stock markets has always been a key point for
investors and investment firms. Stock price predictions are crucial for investors.
This project would assist anyone interested in investing in the stock market to make the
right decisions and understand the future state of the market.
The History:
1. Stock Market Prediction using Simple Linear Regression
- The prediction model was run on one stock set only and not on the entire
market. This creates a certain degree of short-sightedness in the entire
evaluation process.
- The method of prediction using Linear Regression is comparatively less
accurate when compared to other methods.
- Does not consider the Random Forest prediction model for prediction, which
theoretically gives a higher accuracy when run on a small dataset.
- International Conference on Electronics, Communication and Aerospace
Technology (ICECA 2017)
2. Stock Market Prediction using SVM and PCA.
- The complexity of the undertaken project is extremely high and requires
intensive prior knowledge in the field.
- This paper does not provide a benchmark comparison or study, to evaluate
the developed model against.
- 2015 19th International Conference on System Theory, Control and
Computing (ICSTCC), October 14-16, Cheile Gradistei, Romania
3. Stock market Prediction using Artificial Neural Networks.
- This paper aims at developing an algorithm to predict stock values but does
not talk about the accuracy of prediction. It gives a qualitative approach, not
a quantitative one.
- It provides a semantic figure and not a visual outcome to analyse the
prediction. No graphs are provided to demonstrate patterns in investment, in
the market.
- 2017 International Conference on Technical Advancements in Computers and
Communications.
4. Stock Market prediction using Hidden Markov Model.
- The Hidden Markov Model is only accurate in a short period of prediction. If
the time period increases, then the model‟s performance deteriorates
considerably.
- Only an empirical comparison of prediction models is done. The models are
not tested on an out-of-sample dataset. So, we cannot talk about the
real-time performance of the model from the given literature.
- 2013 IEEE International Conference on Granular Computing (GrC).
5. Stock Market Prediction using Sentiment Analysis: Hybrid Approach.
- No visual representation of the prediction model is provided.
- Does not implement regression. Only clustering techniques are used to
predict stock values.
- Does not provide a dynamic model for comparison or prediction, but rather
uses only fixed values. Hence, it‟s applicability in the real world is
questioned, without any valid evidence to prove otherwise.
- International Conference on Computing, Communication and Automation
(ICCCA2016)
6. Stock Market Prediction Model using ANN and Back Propagation.
- Requires in-depth knowledge of deep learning and neural networks, to
understand and implement.
- Is a vast difference in the empirical and actual accuracy as represented by
the models.
- ICCCNT'12 26th _28th July 2012, Coimbatore, India
7. Multiple Linear Regression Model to predict Audit Opinions.
- This paper only studies the Shanghai and Shenzhen Stock Markets of 2007
for a year and hence is considerably short-sighted.
- This study does not clearly classify clean audit opinions from the unclean
ones.
- 2009 ISECS International Colloquium on Computing, Communication,
Control, and Management
Constraints:
1. Requires a ton of understanding of the stock market. This in turn means that the
user must understand the opening rate, the closing rate, volume, minimum rate
and the maximum rate.
2. Frequent monitoring of the stocks is required to make sure that no loss is faced by
the user.
3. Requires experience to forecast the rise or fall of the stock and depending on it, the
decisions of investing or liquidating the stock.
The Approach:
The purpose of this project is to predict the returns of certain stocks. The development of
this project can be widely classified into 2 parts:
Benefits:
1. Maximize the profit by purchasing volume at the lowest price and liquidating the
stock when it's at its highest.
2. Minimize the loss by selling the stock just at the right time, so users wouldn't have
to face loss over their investments.
3. Processes real-time data thereby permitting the model to be authentic and
comprehend live input.
4. Provides beneficial feedback on the shares of the company and foresee its
elevation and decline concerning the previous situations.
Ex 2. Stakeholders And Process Models
Date 15/03/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
An user here is the individual or in better words, the investor, who uses the stock
price predictions provided by the final product of this project.
2) Prediction Provider:
The prediction provider gives predictions of future stock market prices. The users
utilize this information to make better investments.
1) ML Prediction Model:
This module is the core of this project in which input data is fed to get stock
price predictions as a result. Optimization of the final product depends on this
module.
2) Dashboard:
3) Deployment:
This module is responsible for presenting the final product to users. Without
this module, the final product will not be accessible to interested users.
4) Real-Time Analysis
This module adds an important feature to the final product, which is the
ability to extract and utilize real-time data. Target sources are identified and utilised
for obtaining data in real-time.
Date 22/03/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
3.1 Requirements:
Project requirements are conditions or tasks that must be completed to ensure the
success or completion of the project. They provide a clear picture of the work that needs
to be done.
- Analysis
- Design
- Implementation
- Maintenance
Date 29/03/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
Project Members:
Modules:
● ML Prediction Model
● Dashboard
● Deployment
● Real-Time Analysis
Scheduling:
Identifying Problem
Statement and Business
Case Development
Identifying Stakeholders,
Process Modules and
Required Modules
Identifying the
Requirements
UML Diagrams
Coding
Testing
Final Revisions
Project Cost:
Printing Rs.300
● Server-End:
Resource Requirement COST
Streamlit --
● Other Cost:
Employee Salary --
Date 05/04/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
The work breakdown structure for this project can be found below:
figure 5.1
● Server downtime
● Database maintenance
● Unauthorized access to data
● Low website speed
● Improper internet connection
● Hacking and modification of data
● Product bugs
Managing Risks:
Date 12/04/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
Types of FPA:
● External Input (EI): EI processes data or control information that comes from
outside the application’s boundary. The EI is an elementary process.
Cocomo (Constructive Cost Model) is a regression model based on LOC, i.e number of
Lines of Code. It is a procedural cost estimate model for software projects and is often
used as a process of reliably predicting the various parameters associated with making a
project such as size, effort, cost, time, and quality.
Different models of Cocomo have been proposed to predict the cost estimation at
different levels, based on the amount of accuracy and correctness required. These
characteristics pertaining to different system types are mentioned below:
1. Organic – A software project is said to be an organic type if the team size required
is adequately small, the problem is well understood and has been solved in the past
and also the team members have a nominal experience regarding the problem.
2. Semi-detached- A software project is said to be a Semi-detached type if the vital
characteristics such as team size, experience, and knowledge of the various
programming environments lie in between that of organic and Embedded.
Eg: Compilers or different Embedded Systems can be considered of Semi-Detached
type.
PROJECT ab bb cb db
Organic Mode
Semi-Detached
Mode
Embedded
Mode
Ex 7. DESIGN
Date 19/04/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
Date 26/04/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
USE CASE SYMBOLS AND NOTATION: The notation for a use case diagram is pretty
straightforward and doesn't involve as many types of symbols as other UML diagrams.
1] SYSTEM: A specific sequence of actions and interactions between actors and the
system. A system may also be referred to as a scenario.
2]USE CASES: Horizontally shaped ovals that represent an action which accomplishes
some sort of task within the system.
3] ACTORS: Stick figures that represent the people actually employing the use cases. It
should be placed outside the system. There are two types of Actors namely:
PRIMARY ACTOR: Initiates the use of the system. It should be placed on the left side of
the system.
SECONDARY ACTOR: It is more reactionary and should be placed on the right side of the
system.
4] RELATIONSHIPS: INCLUDE: This shows the dependency between the base and included
use case (it happens every time). EXTENT: This happens only when certain criteria are
met.
Date 03/05/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
Uses of ER Diagram:
1. Database design
2. Database troubleshooting
3. Business information systems
4. Business process re-engineering (BPR)
5. Education Research
Components of ER Diagram:
ER Diagrams are composed of entities, relationships (Cardinality) and attributes. They also
depict cardinality, which defines relationships in terms of numbers.
1. Entity
A definable thing—such as a person, object, concept or event—that can have data
stored in it.
2. Attributes
A property or characteristic of an entity.
3. Keys
PRIMARY KEY(PK): It is unique, cannot be repeated and is never null.
4. Cardinality
Defines the numerical attributes of the relationship between two entities.
In this diagram, Stock Dataset, ML Model Prediction, Feedback, Stock and Status are the
entities.
Ex 10. IDENTIFYING DOMAIN CLASSES
FROM THE PROBLEM STATEMENTS
Date 10/05/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
Domain Class Diagram provides an overview of the target system by describing the
objects and classes inside the system and the relationships between them. It provides a
wide variety of usages; from modelling the domain-specific data structure to the detailed
design of the target system.
Objects that represent domain entities are called entities or domain objects. The classes
they instantiate are called domain classes.
Identifying Stereotypes:
Typical domain class stereotypes include:
● <<thing>> = an entity that has mass and volume. Eg: Person, Report
● <<event>> = an entity that has a start time and duration. Eg: Transaction
● <<role>> = an entity that executes tasks. Eg: Customer, Doctor, Student
● <<type>> = an entity that describes other entities. Eg: Genre, ProductType, Rank
IDENTIFYING ATTRIBUTES:
A class contains definitions of all of the attributes its instances will contain.
An attribute has four attributes:
1] Name
2] Type
3] Visibility
● Private (-)
● Public (+)
● Protected (#)
● Package/Default (~)
4] Initial value (optional)
Ex 11. Statechart and Communication
Modeling
Date 17/05/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
StateChart Diagram:
A Statechart diagram describes a state machine. The state machine can be defined as a
machine which defines different states of an object and these states are controlled by
external or internal events.
Components of a StateChart Diagram:
We can include many different shapes in a state diagram, particularly if we choose to
combine it with another diagram. This list summarizes the most common shapes we may
encounter.
● Initial state – We use a black filled circle to represent the initial state of a System or
a class.
● Transition – We use a solid arrow to represent the transition or change of control
from one state to another. The arrow is labelled with the event which causes the
change in state.
● State – We use a rounded rectangle to represent a state. A state represents the
conditions or circumstances of an object of a class at an instant in time.
● Fork – We use a rounded solid rectangular bar to represent a Fork notation with
incoming arrows from the parent state and outgoing arrows towards the newly
created states. We use the fork notation to represent a state splitting into two or
more concurrent states.
● Join – We use a rounded solid rectangular bar to represent a Join notation with
incoming arrows from the joining states and outgoing arrows towards the common
goal state. We use the join notation when two or more states concurrently
converge into one on the occurrence of an event or events.
● Self transition – We use a solid arrow pointing back to the state itself to represent
a self transition. There might be scenarios when the state of the object does not
change upon the occurrence of an event. We use self transitions to represent such
cases.
● Composite state – We use a rounded rectangle to represent a composite state also.
We represent a state with internal activities using a composite state.
● Final state – We use a filled circle within a circle notation to represent the final
state in a state machine diagram.
11.2 Statechart Diagram
Communication Diagram:
A Communication diagram models the interactions between objects or parts in terms of
sequenced messages. Communication diagrams represent a combination of information
taken from Class, Sequence, and Use Case Diagrams describing both the static structure
and dynamic behaviour of a system.
● Objects: Objects can be classed as either a supplier or a client. Suppliers call the
function that supplies the message. The client sends the message to the supplier,
who receives it. It is represented by a rounded rectangle.
● Actors: Stick figure represents the actor. It is the instances that invoke the
interaction. Each actor has a specific name and a role.
● Links: A straight line connecting two objects indicates a relationship between them.
Two objects that are able to send messages to each other.
● Messages: Typically, messages will have a number and description next to them.
The number determines the order in which messages should be read.
Date 24/05/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
Class diagrams are one of the most useful types of diagrams in UML as they clearly map
out the structure of a particular system by modelling its classes, attributes, operations,
and relationships between objects.
● UPPER SECTION: Contains the name of the class. This section is always required,
whether you are talking about the classifier or an object.
● MIDDLE SECTION: This contains the attributes of the class. Use this section to
describe the qualities of the class. This is only required when describing a specific
instance of a class.
● BOTTOM SECTION: Includes class operations (methods). Displayed in list format,
each operation takes up its own line. The operations describe how a class interacts
with data.
● Public (+)
● Private (-)
● Protected (#)
● Package (~)
Sequence diagrams are a popular dynamic modelling solution in UML because they
specifically focus on lifelines or the processes and objects that live simultaneously, and
the messages exchanged between them to perform a function before the lifeline ends.
1] ACTOR:
Stick figure represents the actor. Shows entities that interact with the external objects of
the system.
2] OBJECTS:
Rectangular boxes represent the object and demonstrate how an object will behave in the
context of the system.
3] ACTIVATION BOXES:
Represents the time needed for an object to complete a task. The longer the task will
take, the longer the activation box becomes.
4] MESSAGE SYMBOLS:
We use the following arrows and message symbols to show how information is
transmitted between objects. These symbols may reflect the start and execution of an
operation or the sending and reception of a signal.
Date 31/05/2022
Submitted Aishwarya Lakshmi A P – 66
By
Amruthaa S – 73
Grace Hephzibah M – 84
Title/ Role Stock Market Prediction
DFD graphically represents the functions, or processes, which capture, manipulate, store,
and distribute data between a system and its environment and between components of a
system.
1] PROCESS:
Rounded rectangle represents the process, which receives input data and produces
output with different content or form. Processes can be as simple as collecting input data
and saving it in the database, or they can be complex as producing a report. Every process
has a name that identifies the function it performs.
2] DATA FLOW:
A data flow is a path for data to move from one part of the information system to
another.
Data can be written into the data store, depicted by an outgoing arrow. Data can be read
from a data store, depicted by an incoming arrow.
4] EXTERNAL ENTITY:
A rectangle represents an external entity. They are components outside of the boundaries
of the information systems that either supply or receive data but does not process data.
They represent how the information system interacts with the outside world.
External entities also are called terminators because they are data origins or final
destinations.