0% found this document useful (0 votes)
28 views67 pages

Major Project Documentation

Uploaded by

Abdul Azeez 312
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views67 pages

Major Project Documentation

Uploaded by

Abdul Azeez 312
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 67

A

MAJOR PROJECT REPORT

ON

REIMAGINING ENTERPRISE THEORY IN THE ERA


OF ARTIFICIAL INTELLIGENCE

submitted to
Osmania University, Hyderabad
In partial fulfillment of the requirement for the award of the degree of

BACHELOR OF ENGINEERING
In

COMPUTER SCIENCE AND ENGINEERING – AI&ML

Submitted by
ASFIA AL HERA (160920748001)
MARIA FATIMA ERUM (160920748032)
AFNAN ABDUL VASAY (160920748304)

Under The Guidance Of


Mr. ABDUL RAIS
Assistant Professor

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING - AI&ML


LORDS INSTITUTE OF ENGINEERING AND TECHNOLOGY
(Approved by AICTE-New Delhi and Accredited by NAAC ‘A’ grade. Affiliated to OU-HYD)
2023-2024
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING - AI&ML
LORDS INSTITUTE OF ENGINEERING AND TECHNOLOGY
(Approved by AICTE-New Delhi and Accredited by NAAC ‘A’ grade. Affiliated to OU-HYD)

CERTIFICATE

This is to certify that the major project work entitled “REIMAGINING ENTERPRISE
THEORY IN THE ERA OF ARTIFICIAL INTELLIGENCE” is submitted by Asfia Al
Hera (160920748001), Maria Fatima Erum (160920748032) and Afnan Abdul Vasay
(160920748304) in partial fulfillment for the award of degree of Bachelor of Engineering In
“Computer Science and Engineering – AI&ML” of Osmania University, Hyderabad during the
academic year 2023-2024. The project report has been approved as it satisfies the academic
requirements in report of project work prescribed for the Bachelor of Engineering. The result
embodied in this project report has not been submitted either in partial or in full, for the award
of any other degree in this institute or any institute or university.

Mr. Abdul Rais Dr. Abdul Rasool MD


ASSISTANT PROFESSOR HEAD OF THE DEPARTMENT

PRINCIPAL EXTERNAL EXAMINER


DECLARATION

We hereby declare that the project report entitled “REIMAGINING ENTERPRISE


THEORY IN THE ERA OF ARTIFICIAL INTELLIGENCE” is submitted in partial
fulfillment of the requirement for the award of the degree of Bachelor of Engineering in
“Computer Science And Engineering - AI&ML” in the Lords Institute Of Engineering and
Technology, affiliated to Osmania University, Hyderabad, is a record of Bona fide project
work carried out by us under the guidance of Mr. Abdul Rais.

We further declare that the work reported in this project and the result embodied in this
project report has not been submitted either in partial or in full, for the award of any other
degree in this institute or any institute or university.

ASFIA AL HERA (160920748001)


MARIA FATIMA ERUM (160920748032)
AFNAN ABDUL VASAY (160920748304)

DATE:
PLACE: HYDERABAD
ACKNOWLEDGEMENT

While developing the project and thesis preparation we were helped by many people.
We avail this opportunity to express our profound sense of gratitude to all who rendered their
valuable help and time in the completion of the project on time with quality.

We would like to express our immense gratitude and sincere thanks to Management of
Lords Institute of Engineering and Technology for providing infrastructure necessary
equipment, support and excellent academic environment which was required during research
and development of the project.

We are thankful to DR. RAVI KISHORE SINGH, the Principal of Lords Institute of
Engineering and Technology for providing the necessary guidance to pursue and successfully
complete the project on time with quality.

We are mostly obliged and grateful to the DR. ABDUL RASOOL MD, Head of the
Department, Computer Science and Engineering - AI&ML, Lords Institute of Engineering
and Technology, Hyderabad for his valuable guidance, keen and sustained interest and
encouragement throughout the implementation of this project.

We wish our deepest sense of gratitude to internal guide Mr. ABDUL RAIS, Assistant
Professor, Lords Institute of Engineering and Technology for his valuable advice and guidance
in the critical review, project implementation and thesis preparation.

We express our gratitude to all the other faculty members of CSE Department who
helped us in learning, implementing and project execution.

Finally, we acknowledge with gratitude the unflagging support and patience of our
parents for the guidance and encouragement during this project work.

ASFIA AL HERA (160920748001)


MARIA FATIMA ERUM (160920748032)
AFNAN ABDUL VASAY (160920748304)

i
ABSTRACT

In this era of rapid information technology, the development of artificial intelligence affects
people's lives and all walks of life, while promoting the improvement of productivity. With the
deepening of artificial intelligence technology, the impact on enterprise management theory and
practice began to highlight, therefore, enterprise management and decision makers need to
correct understanding of artificial intelligence, rationalize the use of decentralized management
structure, conform to the trend of the times management thinking, to ensure that artificial
intelligence can promote the improvement of enterprise efficiency. This paper studies the
influence and impact of artificial intelligence on enterprise management theory, and puts
forward practical countermeasures in combination with some problems faced.

ii
INDEX

Contents Page No.


Acknowledgement i
Abstract ii
Index iii
List of Figures vi

CHAPTER-1: INTRODUCTION 1

​INTRODUCTION 1

CHAPTER-2: LITERATURE SURVEY 2

LITERATURE REVIEW 2

CHAPTER-3: FEASIBILITY STUDY 6

​ECONOMIC FEASIBILITY 6

​TECHNICAL FEASIBILITY 6

​SOCIAL FEASIBILITY 7

CHAPTER-4: SYSTEM ANALYSIS 8

​EXISTING SYSTEM 8

​DISADVANTAGES OF EXISTING SYSTEM 8

​PROPOSED SYSTEM 8

​ADVANTAGES OF PROPOSED SYSTEM 8


CHAPTER-5: PROJECT METHODOLOGY 9

iii
​SOFTWARE DEVELOPMENT LIFE CYCLE 10

​ADOPTED METHODOLOGY 11

​WATERFALL MODEL 11

CHAPTER-6: REQUIREMENT SPECIFICATION 13

​HARDWARE SPECIFICATIONS 13

​SOFTWARE SPECIFICATIONS 13

CHAPTER-7: SYSTEM DESIGN 14

​SYSTEM ARCHITECTURE 14

​DATAFLOW DIAGRAM 14

​UML DIAGRAMS 15

​ USECASE DIAGRAM 17

​CLASS DIAGRAM 18

​SEQUENCE DIAGRAM 19

​ACTIVITY DIAGRAM 19

CHAPTER-8: MODULES 21

​MODULES 21

​MODULE DESCRIPTION 21

​USER 21

​ADMIN 21

DATA PREPROCESSING 21

MACHINE LEARNING 22

CHAPTER-9: IMPLEMENTATION AND CODE 23

​INPUT DESIGN 23

iv
​OBJECTIVES 23

​OUTPUT DESIGN 24

​SAMPLE CODE 25

USER VIEW CODE 25

CHAPTER-10: TESTING 41

​ UNIT TESTING 41

​ INTEGRATION TESTING 42

​ FUNCTIONAL TEST 42

​ SYSTEM TEST 42

​ WHITE BOX TESTING 42

​ BLACK BOX TESTING 43

​ UNIT TESTING WITH RESPECT TO PROJECT 43

​ INTEGRATION TESTING WITH RESPECT TO PROJECT 43

​ ACCEPTANCE TESTING WITH RESPECT TO PROJECT 44

​ TEST CASES 44

CHAPTER-11: OUTPUT 46

CHAPTER-12: CONCLUSION AND FUTURE SCOPE 56

​ CONCLUSION 56

​ FUTURE SCOPE 56

CHAPTER-13: BIBLIOGRAPHY 57

iv
LIST OF FIGURES

S.no Figure No. Name of the Figure Page No.

1. 7.1 System Architecture 14

2. 7.2 Data Flow Diagram 15

3. 7.3 Use Case Diagram 17

4. 7.4 Class Diagram 18

5. 7.5 Sequence Diagram 19

6. 7.6 Activity Diagram 20

7. 11.1 Home Page 46

8. 11.2 User Register Form 47

9. 11.3 Admin Home 47

10. 11.4 Admin Login Form 48

11. 11.5 Active User 48

12. 11.6 User Login 49

13. 11.7 User Home Page 50

14. 11.8 Expert System 50

15. 11.9 Expert System Result 51

16. 11.10 Doctor Login 53

17. 11.11 Doctor Home Page 53

18. 11.12 Appointment List 54

19. 11.13 Add Suggestions 55

20. 11.14 Expert Response 57

vi
CHAPTER-1

INTRODUCTION

Artificial intelligence is a computer science used to simulate and extend the thinking mode of
the human brain, including mode recognition, machine learning, data mining, and intelligent
algorithm technology. It is based on these technologies that artificial intelligence can be applied
in the management process of enterprises. Enterprise management refers to the general term of
the organization, planning, command, control and other related functions of all the production
and operation activities of the enterprise.With the continuous development of information
technology, CRM and ERP and other software systems have been generated to help enterprise
managers collect data, formulate production and business activities, and control the business
process. With the continuous development of network technology, these systems are gradually
integrated into larger systems. At present, enterprise cloud service systems have emerged in
many fields. The management system that used to cost a lot of cost

deployment, now it can be realized as long as regular service fees. These cloud service systems
include the enterprises in the industry. Relying on the data of these enterprises, the analysis of
the industry data can be completed, which cannot be completed by the traditional enterprise
management theory.

1
CHAPTER-2
LITERATURE SURVEY

1) “The Combination of Artificial Intelligence and Enterprise Management


Innovation:”,

AUTHORS: Yinzhou Xu, Danqi Li, Siying Gong:


Artificial Intelligence (AI) reshapes companies and how innovation management is organized.
Consistent with rapid technological development and the replacement of human organization,
AI may indeed compel management to rethink a company's entire innovation process. In
response, we review and explore the implications for future innovation management. Using
ideas from the Carnegie School and the behavioral theory of the firm, we review the
implications for innovation management of AI technologies and machine learning-based AI
systems. We outline a framework showing the extent to which AI can replace humans and
explain what is important to consider in making the transformation to the digital organization of
innovation. We conclude our study by exploring directions for future research.

2) “Research on the Impact of AI on Enterprise Management,”

AUTHORS: Yingying Chen, Ying Wang, Huaige Liu, Yin Lan.

Despite widespread optimism and some early success, the applications of AI in management
remain limited to a relatively small subset of mostly routine decisions. The key to
understanding the promise and challenges for AI in management is to focus on the problem of
delegation of decisions by managers to AI. Consider the problem of delegation in mergers and
acquisitions by companies, where decisions may imply legal and ethical concerns that are best
deliberated by managers. Here, AI will provide input to human decision-making while the
manager will remain positions), thereby complementing rather than substituting management
decision. Moreover, both humans and AI have relative strengths, where humans excel in

intuition, empathy, broad

2
3) Influence of customer satisfaction on loyalty: A study on the mobile
telecommunication industry.

AUTHORS: Hossain

The mobile telecommunication companies uphold their service quality and change their
marketing core strategies to retain their existing customers by enhancing and optimizing the
customer loyalty. Therefore, it becomes significant for telecom companies to identify factors of
services that influence customer loyalty and in turn create loyal customers by satisfying them.
This present study aims to explore the influence of customer satisfaction on customer loyalty in
the context of Bangladesh. This study focused on six factors such as communication, price
structure, value-added service, convenience, sales-promotions and customer service. Both
primary and secondary information were collected to test the pre-set hypotheses. Descriptive
statistics and simple linear regression were employed to analyze the data. Result shows that five
factors: communication, price structure, value-added services, convenience and customer
service/care have positive correlations with customer loyalty. Hence, for companies to benefit
from AI, the focus needs to shift towards promoting a full or partial delegation of decisions that
augment managers.

4) “ The Logic and Analysis Framework for Enterprise Management Change


in the Age of AI [J].Management"

AUTHORS: Peng Xu, Xiangyi Xu.

With the development of science and technology, artificial intelligence technology is gradually
improving. At present, artificial intelligence has become an important trend in the development
of science and technology. The emergence of the era of artificial intelligence brings great
opportunities and challenges to enterprises. Under the background of artificial intelligence, the
personnel composition and working mode of enterprises will also change greatly, which means
that the management mode of enterprises also needs to be changed accordingly. Based on this,
starting from the development trend of artificial intelligence, this paper analyzes the logical
framework of enterprise management reform in the era of artificial intelligence, hoping to
3
provide some reference for enterprise management, so as to promote the development of
Chinese enterprises in the era of artificial intelligence

5) “Innovative Development of Enterprise Management with Chinese


Characteristics in the New Era,”

AUTHORS: Yonggui Wang, Xia Li.

Purpose This is a special issue of Chinese Management Studies and this study aims to engage
with debates on innovation in China and to provide new insights for innovation research in the
context of China, seeking to develop a greater understanding of the concept of “innovation with
Chinese characteristics”. Design/methodology/approach This study reviews the Chinese
innovation management literature in general and the selected papers in this special issue in
particular and proposes two new directions for future research. Findings The nine papers that
constitute this special issue present research on important aspects of innovation in China,
ranging from the effectiveness of government subsidisation for innovation, the impact of fiscal
decentralisation on innovation, the role of management behaviour in promoting (or
discouraging) innovation and the effects of differing business models on innovation. These
papers shed valuable new light on the theory and practice of innovation in China. The papers
are discussed in the context of four primary arguments about innovation management in China
identified from the broader literature in the field. These relate to the pattern of China’s
innovation performance over time, the reasons for its effectiveness, the role of alliances and
influences of indigenous factors. It is also shown that management of the internationalization of
innovation and of efficient internal innovation are two important directions for future research
on Chinese innovation in an era of de-globalisation. Originality/value The studies presented
here provide valuable contributions to theory building in innovation research, as well as some
important ideas for directions of future research on innovation in China in the new era of
de-globalisation.

4
6) “The Application of AI in Enterprise Management [J].Technology
Entrepreneurship Monthly”

AUTHORS: Jian Huang, Li He.

In the past 10 years, the general trend of digital economy development has further promoted the
application of core technologies including artificial intelligence. It is clear that artificial
intelligence technology has started to play a significant role in many facets of business
development in recent years. The "tentacles" of artificial intelligence technology can be said to
have reached into every sphere of the social economy, from design to production, from
management to marketing. From an industrial standpoint, a number of sectors, including
manufacturing, energy, and transportation, have started to "polish" with the use of artificial
intelligence technology. This paper first analyzes the relationship between artificial intelligence
and enterprise digitalization from two perspectives, then examines how AI is affecting business
digitalization from various angles. Besides, I predicted the future of artificial intelligence in
enterprise digitalization after researching chatbots, intelligent agent assistant, and other key
application.

5
CHAPTER-3
FEASIBILITY STUDY

The feasibility of the project is analyzed in this phase and business proposal is put forth with a
very general plan for the project and some cost estimates. During system analysis the feasibility
study of the proposed system is to be carried out. This is to ensure that the proposed system is
not a burden to the company. For feasibility analysis, some understanding of the major
requirements for the system is essential.

Three key considerations involved in the feasibility analysis are,

● Economic Feasibility
● Technical Feasibility
● Social Feasibility

ECONOMIC FEASIBILITY
This study is carried out to check the economic impact that the system will have on the
organization. The amount of fund that the company can pour into the research and development
of the system is limited. The expenditures must be justified. Thus the developed system as well
within the budget and this was achieved because most of the technologies used are freely
available. Only the customized products had to be purchased.

TECHNICAL FEASIBILITY
This study is carried out to check the technical feasibility, that is, the technical requirements
of the system. Any system developed must not have a high demand on the available technical
resources. This will lead to high demands on the available technical resources. This will lead to
high demands being placed on the client. The developed system must have a modest
requirement, as only minimal or null changes are required for implementing this system.

6
SOCIAL FEASIBILITY

The aspect of study is to check the level of acceptance of the system by the user. This
includes the process of training the user to use the system efficiently. The user must not feel
threatened by the system, instead must accept it as a necessity. The level of acceptance by the
users solely depends on the methods that are employed to educate the user about the system and
to make him familiar with it. His level of confidence must be raised so that he is also able to
make some constructive criticism, which is welcomed, as he is the final user of the system.

7
CHAPTER-4

SYSTEM ANALYSIS

In current days, the customers are getting more attracted towards the quality of service
(QoS) provided by the organizations. However, the current era is evidencing higher competition
in providing technologically advanced QoS to the Customers. Nevertheless, efficient customer
relationship management systems can be advantageous for the organization for gaining more
customers, maintaining customer relationships and improve customer retention by adding more
profit to the organizational business. Furthermore, machine learning models such as support
vector machine algorithms can add more value to the customer retention strategies.

EXISTING SYSTEM

At present, enterprise cloud service systems have emerged in many fields. The management
system that used to cost a lot of cost deployment, now it can be realized as long as regular
service fees. These cloud service systems include the enterprises in the industry. Relying on the
data of these enterprises, the analysis of the industry data can be completed, which cannot be
completed by the traditional enterprise management theory.

DISADVANTAGES OF EXISTING SYSTEM

● The management system that used to cost a lot

PROPOSED SYSTEM

This paper studies the influence and impact of artificial intelligence on enterprise management
theory, and puts forward practical countermeasures in combination with some problems faced.
These cloud service systems include the enterprises in the industry. Relying on the data of these
enterprises, the analysis of the industry data can be completed, which cannot be completed by
the traditional enterprise management theory.

8
ADVANTAGES OF PROPOSED SYSTEM

● With the development of big data, through the comparative analysis of the material
consumption in each link, we can determine the link that needs to be improved, and predict
the cost consumption that should be reduced
● Improve production efficiency

9
CHAPTER-5
PROJECT METHODOLOGY

This chapter describes the adopted methodology throughout the project. The chapter will
describe the methodology phases that we will use to accomplish the project and the phases that
this methodology consists of, then the reasons for choosing waterfall methodology will be
listed, after that, each phase of waterfall methodology will be described. Finally, it represents
the requirement engineering methodology followed in the project.

Software Development Life Cycle


Software development life cycle (SDLC) is a series of phases that provide a common
understanding of the software building process. How the software will be realized and
developed from the business understanding and requirements elicitation phase to convert these
business ideas and requirements into functions and features until its usage and operation to
achieve the business needs. A good software engineer should have enough knowledge on how
to choose the SDLC model based on the project context and the business requirements. You can
think of SDLC models as tools that you can use to better deliver your software project.
Therefore, knowing and understanding each model and when to use it, the advantages and
disadvantages of each one are important to know which one is suitable for the project context.

Types of Software development life cycles (SDLC)

● Waterfall Model
● V-Shaped Model
● Evolutionary Prototyping Model
● Spiral Method (SDM)
● Iterative and Incremental Method
● Agile development

10
ADOPTED METHODOLOGY

To accomplish this project, the waterfall modified SDLC model will be followed which is the
most suitable methodology because the requirements are well-understood. There are five steps
in waterfall methodology, starting with Requirement analysis, and finishing with Testing and
Maintenance.

WATERFALL MODEL

The waterfall model was first process model to be introduced. It also referred to as a linear
sequential life cycle model. It is very simple to understand and use. In a waterfall model, each
phase must be completed fully before the next phase can begin. At the end of each phase, a
review takes place to determine if the project is on the right path and whether or not to continue
or discard the project. In this model software testing starts only after the development is
complete. In waterfall model phases do not overlap. The following illustration is a
representation of the different phases of the Waterfall Model.

Figure 5.1: Waterfall Model

11
The sequential phases in Waterfall model are −

● Requirement− Smart devices require to be operated smartly, so an interface is required for


the same. Along with the client communication, researching and exploring the devices to be
operated using interfaces is extremely important. Feasibility study plays a critical role as not
everything can be mapped from hardware to software in real time.

● Analysis– Methodology is chosen based upon the nature of the interface to be built.
Depending upon the type of interface such as mobile app or embedded software etc., the
architecture varies. Flow of application is dependent on the nature of operation in the device
it is intended to connect to. Sensors and networks play an important role in governing the
application.
● Design– Design must reflect the device and its characteristics. It must be easy to learn and
implement even by a naïve user. It can be represented in the form of wireframe or static
screens. This depends upon the nature of the interface. Number of screen is not of high
importance; rather correct functionality is required to be taken care of.
● Implementation– Depending upon the interface type, available timeline is scheduled. Cost is
high which involves working with inbuilt device sensors, external sensors, and various
network configurationsTesting– Highly network dependent. Maximum features are operable
under good quality network condition. Speed is high as they work in real time.
● User Experience– Apart from having the interface, it requires other devices/sensors to
operate them. Navigation may require initial learning and handling. Display may vary from
static, physical buttons to a mobile app.
● Maintenance– Cost and Effort is high. Versions can be many, depending upon compatibility
issues. Control and Flexibility requires to make same changes at multiple places.

All these phases are cascaded to each other in which progress is seen as flowing steadily
downwards through the phases. The next phase is started only after the defined set of goals
are achieved for previous phase and it is signed off, so the name "Waterfall Model".

12
CHAPTER-6
REQUIREMENT SPECIFICATION

HARDWARE REQUIREMENTS:

● System : Intel Core i5


● Hard Disk : 1TB
● Monitor : 15’’ LED
● Input Devices : Keyboard, Mouse
● RAM : 16GB

SOFTWARE REQUIREMENTS:

● Operating system : Windows 10


● Coding Language : Python
● Tool : PyCharm, Visual Studio Code
● Database : SQLite

13
CHAPTER-7
SYSTEM DESIGN

SYSTEM ARCHITECTURE

Figure 7.1 : System Architecture

DATA FLOW DIAGRAM:

1. 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 input data to the system, various processing carried out on
this data, and the output data is generated by this system.
2. The data flow diagram (DFD) is one of the most important modeling tools. It is used to
model the system components. These components are the system process, the data used by
the process, an external entity that interacts with the system and the information flows in the
system.

14
3. DFD shows how the information moves through the system and how it is modified by a
series of transformations. It is a graphical technique that depicts information flow and the
transformations that are applied as data moves from input to output.
4. DFD is also known as bubble chart. A DFD may be used to represent a system at any level
of abstraction. DFD may be partitioned into levels that represent increasing information
flow and functional detail.

Figure 7.2 : DataFlow Diagram

UML DIAGRAMS

UML stands for Unified Modeling Language. UML is a standardized general purpose
modeling language in the field of object-oriented software engineering. The standard is
managed, and was created by, the Object Management Group. The goal is for UML to become
a common language for creating models of object oriented computer software. In its current
from UML is comprised of two major components: a Meta-model and annotation. In the
future, some form of method or process may also be added to; or associated with, UML. The
Unified Modeling Language is a standard language for specifying, visualization, constructing
15
and documenting the artifacts of software system, as well as for business modeling and other
non-software systems. The UML represents a collection of best engineering practices that
have proven successful in the modeling large and complex systems. The UML is a very
important part of developing objects oriented software and the software development process.
The UML uses mostly graphical notations to express the design of software project.

GOALS

The primary goals in the design of the UML are as follows:

● Provides user a ready-to-use, expressive visual modeling Language so that they can
develop and exchange meaningful models.
● Be independent of particular programming languages and development process.
● Provide a formal basis for understanding the modeling language.
● Encourage the growth of the OO tools market.
● It is efficient and User friendly.
● Support higher level development concepts such as collaborations.
● Integrate best practices.
● UML is a very important part of developing object oriented software and the software
development process.
● The UML uses mostly graphical notations to express the design of software projects.
● The UML represents a collection of best engineering practices that have proven successful
in modelling large and complex systems.
● Provide extensibility and specialization mechanisms to extend the core concepts.

16
USECASE DIAGRAM
AA use case diagram in the Unified Modeling Language (UML) is a type of behavioral
diagram defined by and created from a Use-case analysis. Its purpose is to present a graphical
overview of the functionality provided by a system in terms of actors, their goals (represented
as use cases), and any dependencies between those use cases. The main purpose of a use case
diagram is to show what system functions are performed for which actor. Roles of the actors
in the system can be depicted.

Figure 7.3: Use Case Diagram

17
CLASS DIAGRAM
In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of
static structure diagram that describes the structure of a system by showing the system's classes,
their attributes, operations (or methods), and the relationships among the classes. It explains
which class contains information.

Figure 7.4: Class Diagram

18
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.

Figure 7.5: Sequence Diagram

ACTIVITY DIAGRAM

Activity diagrams are graphical representations of workflows of stepwise activities and


actions with support for choice, iteration and concurrency. In the Unified Modeling Language,
activity diagrams can be used to describe the business and operational step-by-step workflows
of components in a system. An activity diagram shows the overall flow of control.

19
Figure 7.6: Activity Diagram

20
CHAPTER-8
MODULES

MODULES:
There are four modules in the project namely,
● User
● Admin
● Data Preprocessing
● Machine Learning

MODULES DESCRIPTION:
1. USER:
The User can register first. While registering he required a valid user email and mobile for
further communications. Once the user register then admin can activate the user. Once admin
activated the user then user can login into our system. User can upload the dataset based on our
dataset column matched. For algorithm execution data must be in int or float format. Here we
took Adacel Technologies Limited dataset for testing purpose. User can also add the new data
for existing dataset based on our Django application. User can click the Data Preparations in the
web page so that the data cleaning process will be starts. The cleaned data and its required graph
will be displayed.

2. ADMIN:
Admin can login with his login details. Admin can activate the registered users. Once he
activate then only the user can login into our system. Admin can view Users and he can view
overall data in the browser and he load the data. Admin can view the training data list and test
data list. Admin can load the data and view forecast results.

3. DATA PREPROCESSING:
A dataset can be viewed as a collection of data objects, which are often also called as a
Sentiment tweets like positive, negative and neutral. Data objects are described by a number of
features that capture the basic characteristics of an object, such as the mass of a physical object

21
or the time at which an event occurred, etc. Features are often called as variables,
characteristics, fields, attributes, or dimensions. The study is based on a pipeline that involves
preprocessing, sentiment analysis, topic modeling, natural language processing and statistical
analysis of Twitter data extracted in the form of tweets. We use Tweets and Sentiment amount
of data.

4. MACHINE LEARNING:

Based on the split criterion, the cleaned data is split into 80% training and 20% test, then the
dataset is subjected to one machine learning classifier such as Natural Language Process(NLP).
Sentiment analysis by fine tuning auto encoding models like BERT and ALBERT to achieve a
comprehensive understanding of public sentiment. Thus, we have analyzed the results of our
experiment and methodology using the contextual information and verified the insights.

22
CHAPTER 9

IMPLEMENTATION AND CODE

INPUT DESIGN

The input design is the link between the information system and the user. It comprises the
developing specification and procedures for data preparation and those steps are necessary to
put transaction data in to a usable form for processing can be achieved by inspecting the
computer to read data from a written or printed document or it can occur by having people
keying the data directly into the system. The design of input focuses on controlling the amount
of input required, controlling the errors, avoiding delay, avoiding extra steps and keeping the
process simple. The input is designed in such a way so that it provides security and ease of use
with retaining privacy. Input Design considered the following things:

● What data should be given as input?

● How should the data be arranged or coded?

● The dialog to guide the operating personnel in providing input.

● Methods for preparing input validations and steps to follow when errors occur.

OBJECTIVES

1. Input Design is the process of converting a user-oriented description of the input into a
computer-based system. This design is important to avoid errors in the data input process
and show the correct direction to the management for getting correct information from the
computerized system.
2. It is achieved by creating user-friendly screens for the data entry to handle large volume of
data. The goal of designing input is to make data entry easier and to be free from errors. The
data entry screen is designed in such a way that all the data manipulates can be performed. It
also provides record viewing facilities.
3. When the data is entered it will check for its validity. Data can be entered with the help of
23
screens. Appropriate messages are provided as when needed so that the user will not be in
maize of instant. Thus the objective of input design is to create an input layout that is easy to
follow.

OUTPUT DESIGN

A quality output is one, which meets the requirements of the end user and presents the
information clearly. In any system results of processing are communicated to the users and to
other systems through outputs. In output design it is determined how the information is to be
displaced for immediate need and also the hard copy output. It is the most important and direct
source of information to the user. Efficient and intelligent output design improves the system’s
relationship to help user decision-making.
1. Designing computer output should proceed in an organized, well thought out manner; the
right output must be developed while ensuring that each output element is designed so that
people will find the system can use easily and effectively. When analysis design computer
output, they should Identify the specific output that is needed to meet the requirements.
2. Select methods for presenting information.
3. Create documents, reports, or other formats that contain information produced by the
system.

The output form of an information system should accomplish one or more of the following
objectives.
● Convey information about past activities, current status or projections of the
● Future.
● Signal important events, opportunities, problems, or warnings.
● Trigger an action.
● Confirm an action.

24
SAMPLE CODE
User side views.py

from django.shortcuts import render, HttpResponse

from django.contrib import messages

from .forms import UserRegistrationForm

from .models import UserRegistrationModel

from django.conf import settings

# from .models import predictions

import os

import pandas as pd

# Create your views here.

def UserRegisterActions(request):

if request.method == 'POST':

form = UserRegistrationForm(request.POST)

if form.is_valid():

print('Data is Valid')

form.save()

messages.success(request, 'You have been successfully registered')

form = UserRegistrationForm()

return render(request, 'UserRegistrations.html', {'form': form})

else:

messages.success(request, 'Email or Mobile Already Existed')

print("Invalid form")

else:

25
form = UserRegistrationForm()

return render(request, 'UserRegistrations.html', {'form': form})

def UserLoginCheck(request):

if request.method == "POST":

loginid = request.POST.get('loginid')

pswd = request.POST.get('pswd')

print("Login ID = ", loginid, ' Password = ', pswd)

try:

check = UserRegistrationModel.objects.get(loginid=loginid,
password=pswd)

status = check.status

print('Status is = ', status)

if status == "activated":

request.session['id'] = check.id

request.session['loggeduser'] = check.name

request.session['loginid'] = loginid

request.session['email'] = check.email

print("User id At", check.id, status)

return render(request, 'users/UserHomePage.html', {})

else:

messages.success(request, 'Your Account Not at activated')

return render(request, 'UserLogin.html')

except Exception as e:

print('Exception is ', str(e))

pass

messages.success(request, 'Invalid Login id and password')

return render(request, 'UserLogin.html', {})


26
def UserHome(request):

return render(request, 'users/UserHomePage.html', {})

def DatasetView(request):

path = os.path.join(settings.MEDIA_ROOT, 'labeled_data.csv' )

df = pd.read_csv(path, encoding = "ISO-8859-1")

df = df[['class','tweet']]

# print(df.head())

df = df.to_html(index=None)

return render(request, 'users/viewdataset.html', {'data': df})

def user_ml_code(request):

from .algorithms import text preprocessing

cr_lg = textpreprocessing.start_adboost()

cr_rnn = textpreprocessing.start_multi_layer_perceptron()

cr_rf = textpreprocessing.RandomForest()

cr_nb = textpreprocessing.GaussianNaiveBayes()

cr_lr =textpreprocessing.LogisticRegressionModel()

cr_dt = textpreprocessing.DecisionTree()

cr_gb =textpreprocessing.GradientBoosting()

cr_SVM = textpreprocessing.start_SVM()

return render(request, 'users/ml_results.html', {'cr_lg': cr_lg,


'cr_SVM': cr_SVM,'cr_rnn':cr_rnn, 'cr_rf':cr_rf,

'cr_nb':cr_nb ,
'cr_dt':cr_dt,'cr_lr':cr_lr,'cr_gb':cr_gb})

def predict(request):
27
if request.method=='POST':

tweets = request.POST.get('tweets')

print('-'*100)

print(tweets)

import os

import pandas as pd

from django.conf import settings

from sklearn.feature_extraction.text import CountVectorizer

from sklearn.SVM import SVC

from sklearn.linear_model import LogisticRegression

import pickle

from sklearn.model_selection import train_test_split

path1 = os.path.join(settings.MEDIA_ROOT, 'labeled_data.csv')

# path = os.path.join(settings.MEDIA_ROOT, 'fakenews.alex')

df = pd.read_csv(path1, encoding="ISO-8859-1")

# df['hate_speech'] = df.hate_speech.replace({'offensive': 1,
'non-offensive': 0})

print(df['class'])

X_train, X_test, y_train, y_test = train_test_split(df['tweet'],

df['class'],test_size=0.2,

random_state=42)

# Instantiate the CountVectorizer method

count_vector = CountVectorizer(stop_words='english',
lowercase=True)

28
training_data = count_vector.fit_transform(X_train)

# Transform testing data and return the matrix. Note we are not
fitting the testing data into the CountVectorizer()

testing_data = count_vector.transform(X_test)

test = count_vector.transform([tweets])

print('test')

# model = pickle.load(open(path1, 'rb'))

model = LogisticRegression()

model.fit(training_data,y_train)

pred = model.predict(test)

if pred[0] == 1:

msg = 'offensive'

elif pred[0] == 2:

msg = 'non-offensive'

else:

msg='neither'

print("===>", pred)

return render(request, 'users/testform.html', {'tweet': tweets,


'msg': msg})

else:

return render(request, 'users/testform.html', {})

Base.html:
{% load static %}

<!DOCTYPE html>

<html lang="en">

<head>
29
<meta charset="utf-8">

<meta content="width=device-width, initial-scale=1.0" name="viewport">

<title>offensive langauge</title>

<meta content="" name="description">

<meta content="" name="keywords">

<!-- Favicons -->

<link href="{% static 'img/favicon.png'%}" rel="icon">

<link href="{% static 'img/apple-touch-icon.png'%}"


rel="apple-touch-icon">

<!-- Google Fonts -->

<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,60
0,600i,700,700i|Muli:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:30
0,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">

<!-- Vendor CSS Files -->

<link href="{% static 'vendor/animate.css/animate.min.css'%}"


rel="stylesheet">

<link href="{% static 'vendor/aos/aos.css'%}" rel="stylesheet">

<link href="{% static 'vendor/bootstrap/css/bootstrap.min.css'%}"


rel="stylesheet">

<link href="{% static 'vendor/bootstrap-icons/bootstrap-icons.css'%}"


rel="stylesheet">

<link href="{% static 'vendor/boxicons/css/boxicons.min.css'%}"


rel="stylesheet">

<link href="{% static 'vendor/glightbox/css/glightbox.min.css'%}"


rel="stylesheet">

<link href="{% static 'vendor/swiper/swiper-bundle.min.css'%}"


rel="stylesheet">
30
<!-- Template Main CSS File -->

<link href="{% static 'css/style.css'%}" rel="stylesheet">

<!-- =======================================================

* Template Name: Flattern

* Updated: May 30 2023 with Bootstrap v5.3.0

* Template URL:
https://bootstrapmade.com/flattern-multipurpose-bootstrap-template/

* Author: BootstrapMade.com

* License: https://bootstrapmade.com/license/

======================================================== -->

</head>

<body>

<!-- ======= Header ======= -->

<header id="header" class="d-flex align-items-center">

<div class="container d-flex justify-content-between">

<div class="logo">

<h1 class="text-light"><a href="/index">OFFENSIVE LANGUAGE


DETECTION</a></h1>

<!-- Uncomment below if you prefer to use an image logo -->

<!-- <a href="index.html"><img src="assets/img/logo.png" alt=""


class="img-fluid"></a>-->

</div>

<nav id="navbar" class="navbar">

31
<ul>

<li><a href="{% url 'index'%}">Home</a></li>

<li><a href="{% url 'UserLogin' %}">User-Login</a></li>

<li><a href="{% url 'AdminLogin' %}">Admin-Login</a></li>

<li><a href="{% url 'UserRegister' %}">User-Register</a></li>

</ul>

<i class="bi bi-list mobile-nav-toggle"></i>

</nav><!-- .navbar -->

</div>

</header><!-- End Header -->

<!-- ======= Hero Section ======= -->

<section id="hero">

<div id="heroCarousel" data-bs-interval="5000" class="carousel slide


carousel-fade" data-bs-ride="carousel">

<div class="carousel-inner" role="listbox">

<!-- Slide 1 -->

<div class="carousel-item active" style="background-image:


url('../static/img/slide/slide-1.jpg');">

<div class="carousel-container">

<div class="carousel-content animate__animated animate__fadeInUp">

<h2>Offensive Language Detection on Social<span>Media Based


on Text Classification</span></h2>

<p>Detecting offensive language can be a challenging task due


to the evolving nature of language and the context-dependent nature of
offensiveness. However, there are some common approaches and techniques that
can be used to identify offensive language. Here are a few methods.</p>
32
<div class="text-center"><a href=""
class="btn-get-started">Read More</a></div>

</div>

</div>

</div>

<!-- Slide 2 -->

<div class="carousel-item" style="background-image:


url('../static/img/slide/slide-2.jpg');">

<div class="carousel-container">

<div class="carousel-content animate__animated animate__fadeInUp">

<h2>Offensive language</h2>

<p>It's important to note that offensive language detection


is a complex task, and no single method can be fully effective due to the
nuances and context-dependency of offensive language. Additionally, the
definition of offensive language may vary across cultures and contexts,
making it essential to consider these factors when designing an offensive
language detection system.</p>

<div class="text-center"><a href=""


class="btn-get-started">Read More</a></div>

</div>

</div>

</div>

<!-- Slide 3 -->

<div class="carousel-item" style="background-image:


url('../static/img/slide/slide-3.jpg');">

<div class="carousel-container">

<div class="carousel-content animate__animated animate__fadeInUp">

<h2>Machine learning approach: </h2>

<p>Train a machine learning model using labeled data to


classify text as offensive or non-offensive. This typically involves
33
extracting features from the text, such as n-grams, word embeddings, or
syntactic features, and using algorithms like Guassian Naive Bayes,Decision
Tree(DT),Support Vector Machines (SVM),Random Forest (RF), Logistic
Regresiiopn(LR),Multi Layer Preceptron (MLP), Gradient Bossting(GB),Ada
Boost.</p>

<div class="text-center"><a href=""


class="btn-get-started">Read More</a></div>

</div>

</div>

</div>

</div>

<a class="carousel-control-prev" href="#heroCarousel" role="button"


data-bs-slide="prev">

<span class="carousel-control-prev-icon bx bx-left-arrow"


aria-hidden="true"></span>

</a>

<a class="carousel-control-next" href="#heroCarousel" role="button"


data-bs-slide="next">

<span class="carousel-control-next-icon bx bx-right-arrow"


aria-hidden="true"></span>

</a>

<ol class="carousel-indicators" id="hero-carousel-indicators"></ol>

</div>

</section><!-- End Hero -->

{% block contents %}

34
{% endblock %}

<main id="main">

<!-- ======= Services Section ======= -->

<section id="services" class="services">

<div class="container">

<div class="row">

<div class="col-lg-4 col-md-6">

<div class="icon-box" data-aos="fade-up">

<div class="icon"><i class="bi bi-briefcase"></i></div>

<h4 class="title"><a href="">Machine Learning</a></h4>

<p class="description">Machine Learning is a program that


analyses data and learns to predict the outcome.Machine Learning is making
the computer learn from studying data and statistics.</p>

</div>

</div>

<div class="col-lg-4 col-md-6">

<div class="icon-box" data-aos="fade-up" data-aos-delay="100">

<div class="icon"><i class="bi bi-card-checklist"></i></div>

<h4 class="title"><a href="">Data preprocessing</a></h4>

<p class="description">It is a crucial step in data analysis


and machine learning tasks. It involves preparing the raw data to make it
suitable for further analysis or model training.</p>

</div>

</div>

<div class="col-lg-4 col-md-6">

<div class="icon-box" data-aos="fade-up" data-aos-delay="200">

35
<div class="icon"><i class="bi bi-bar-chart"></i></div>

<h4 class="title"><a href="">Handling Missing Values</a></h4>

<p class="description"> Identify and handle missing values in


the dataset. This can involve techniques such as imputation (replacing
missing values with estimated values) or deletion (removing rows or columns
with missing values).</p>

</div>

</div>

<div class="col-lg-4 col-md-6">

<div class="icon-box" data-aos="fade-up" data-aos-delay="200">

<div class="icon"><i class="bi bi-binoculars"></i></div>

<h4 class="title"><a href="">Training</a></h4>

<p class="description">The training set is used to train the


machine learning model. It typically consists of a large portion of the
available data, usually around 70-80%.</p>

</div>

</div>

<div class="col-lg-4 col-md-6">

<div class="icon-box" data-aos="fade-up" data-aos-delay="300">

<div class="icon"><i class="bi bi-brightness-high"></i></div>

<h4 class="title"><a href="">Testing Set</a></h4>

<p class="description">

The testing set is used to evaluate the performance of the


trained model. It should be independent of the training set and should not
be used during the training process.</p>

</div>

</div>

<div class="col-lg-4 col-md-6">

<div class="icon-box" data-aos="fade-up" data-aos-delay="400">

<div class="icon"><i class="bi bi-calendar4-week"></i></div>

36
<h4 class="title"><a href="">After Training and
Testing</a></h4>

<p class="description">The predicted values are compared with


the actual target values in the testing set to assess the model's accuracy,
precision, recall, F1 score, or other performance metrics, depending on the
specific task.</p>

</div>

</div>

</div>

</div>

</section><!-- End Services Section -->

</main><!-- End #main -->

<!-- ======= Footer ======= -->

<footer id="footer">

<div class="footer-top">

<div class="container">

<div class="row">

</div>

</div>

</div>

<div class="container d-md-flex py-4">

<div class="me-md-auto text-center text-md-start">


37
<div class="copyright">

&copy; Copyright <strong><span>Offensive Language


Detection</span></strong>. All Rights Reserved

</div>

<div class="credits">

<!-- All the links in the footer should remain intact. -->

<!-- You can delete the links only if you purchased the pro
version. -->

<!-- Licensing information: https://bootstrapmade.com/license/ -->

<!-- Purchase the pro version with working PHP/AJAX contact form:
https://bootstrapmade.com/flattern-multipurpose-bootstrap-template/ -->

Designed by <a href="https://bootstrapmade.com/">Alex</a>

</div>

</div>

</div>

</footer><!-- End Footer -->

<a href="#" class="back-to-top d-flex align-items-center


justify-content-center"><i class="bi bi-arrow-up-short"></i></a>

<!-- Vendor JS Files -->

<script src="{% static 'vendor/aos/aos.js' %}"></script>

<script src="{% static 'vendor/bootstrap/js/bootstrap.bundle.min.js'


%}"></script>

<script src="{% static 'vendor/glightbox/js/glightbox.min.js'


%}"></script>

<script src="{% static 'vendor/isotope-layout/isotope.pkgd.min.js'


%}"></script>

<script src="{% static 'vendor/swiper/swiper-bundle.min.js' %}"></script>

<script src="{% static 'vendor/waypoints/noframework.waypoints.js'


%}"></script>

<script src="{% static 'vendor/php-email-form/validate.js' %}"></script>


38
<!-- Template Main JS File -->

<script src="{% static 'js/main.js' %}"></script>

</body>

</html>

Admin side views:


from django.shortcuts import render, HttpResponse

from django.contrib import messages

from users.models import UserRegistrationModel

# Create your views here.

def AdminLoginCheck(request):

if request.method == 'POST':

usrid = request.POST.get('loginid')

pswd = request.POST.get('pswd')

print("User ID is = ", usrid)

if usrid == 'admin' and pswd == 'admin':

return render(request, 'admins/AdminHome.html')

else:

messages.success(request, 'Please Check Your Login Details')

return render(request, 'AdminLogin.html', {})

def AdminHome(request):
39
return render(request, 'admins/AdminHome.html')

def RegisterUsersView(request):

data = UserRegistrationModel.objects.all()

return render(request,'admins/viewregisterusers.html',{'data':data})

def ActivaUsers(request):

if request.method == 'GET':

id = request.GET.get('uid')

status = 'activated'

print("PID = ", id, status)

UserRegistrationModel.objects.filter(id=id).update(status=status)

data = UserRegistrationModel.objects.all()

return
render(request,'admins/viewregisterusers.html',{'data':data})

def DeleteUsers(request):

if request.method == 'GET':

id = request.GET.get('uid')

status = 'activated'

print("PID = ", id, status)

UserRegistrationModel.objects.filter(id=id).delete()

data = UserRegistrationModel.objects.all()

return
render(request,'admins/viewregisterusers.html',{'data':data})

40
CHAPTER-10

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.
Software testing involves the execution of a software component or system component to
evaluate one or more properties of interest. In general, these properties indicate the extent to
which the component or system under test:
● meets the requirements that guided its design and development.
● responds correctly to all kinds of inputs.
● performs its functions within an acceptable time.
● is sufficiently usable.
● can be installed and run in its intended environments.

There are various types of tests. Each test type addresses a specific testing requirement.

UNIT TESTING
Unit testing involves the design of test cases that validate that the internal program logic is
functioning properly, and that program inputs produce 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.

41
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.

FUNCTIONAL TEST
Functional tests provide systematic demonstrations that functions tested are available as
specified by the business and technical requirements, system documentation, and user manuals.
Functional testing is centered on the following items:
● Valid Input : identified classes of valid input must be accepted.
● Invalid Input : identified classes of invalid input must be rejected.
● Functions : identified functions must be exercised.
● Output : Identified classes of application outputs must be exercised.
● Systems/Procedures : interfacing systems or procedures must be invoked.
Organization and preparation of functional tests is focused on requirements, key functions, or
special test cases. In addition, systematic coverage pertaining to identify 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 TEST
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, emphasizing pre-driven process links and integration points.

WHITE BOX TESTING


White Box Testing is a testing in which the software tester has knowledge of the inner

42
workings, structure and language of the software, or at least its purpose. It is purpose. It is used
to test areas that cannot be reached from a black box level.

BLACK BOX TESTING


Black Box Testing is testing the software without any knowledge of the inner workings,
structure or language of the module being tested. Black box tests, as most other kinds of tests,
must be written from a definitive source document, such as specification or requirements
document, such as specification or requirements document. It is a testing in which the software
under test is treated, as a black box .you cannot “see” into it. The test provides inputs and
responds to outputs without considering how the software works.

UNIT TESTING WITH RESPECT TO PROJECT


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.

TEST STRATEGY AND APPROACH


Field testing will be performed manually and functional tests will be written in detail.
TEST OBJECTIVES
● All field entries must work properly.
● Pages must be activated from the identified link.
● The entry screen, messages and responses must not be delayed.

FEATURES TO BE TESTED
● Verify that the entries are of the correct format
● No duplicate entries should be allowed
● All links should take the user to the correct page.

INTEGRATION TESTING WITH RESPECT TO PROJECT


Software integration testing is the incremental integration testing of two or more integrated
43
software components on a single platform to produce failures caused by interface defects.
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.
Test Results: All the test cases mentioned above passed successfully. No defects encountered.

ACCEPTANCE TESTING WITH RESPECT TO PROJECT


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.
Test Results: All the test cases mentioned above passed successfully. No defects encountered.

TEST CASES:
SVM

S.no Test Case Excepted Result Result Remarks(IF


Fails)

1 User Register If User registration Pass If already user


successfully. email exist then
it fails.

2 User Login If Username and password Pass Un Register


is correct then it will Users will not
getting valid page. logged in.

3 SVM The request will be Pass The request will


accepted by the SVM be not accepted
by the SVM
otherwise its
failed

4 Naive Bayes The request will be Pass The request will


accepted by the Naive be accepted by the
Bayes Naive Bayes
otherwise its failed

5 View dataset by Data set will be displayed Pass Results not true
44
user by the user failed

6 User Display reviews with true Pass Results not true


classification results failed

7 Calculate macro avg and weighted Pass macro avg and


accuracy macro avg calculated weighted avg not
avg and displayed failed
weighted avg

8 prediction Result will be cyberbulling pass Otherwise fail


or not cyberbullying

9 Admin login Admin can login with his Pass Invalid login
login credential. If success details will not
he get his home page allowed here

10 Admin can Admin can activate the Pass If user id not


activate the register user id found then it
register users won’t login.

45
CHAPTER-11

OUTPUT

The output pages of our project are shown which successfully generated the result as shown
below.

Figure 11.1 Home Page

46
Figure 11.2 User Register Form

Figure 11.3: Admin Home

47
Figure 11.4: Admin Login Form

Figure 11.5: Active User

48
Figure 11.6: User Login

Token generation:

CRM authenticated by token its expert system

49
Figure 11.7: User Home Page

Figure 11.8: Expert System


50
If result is good no need to consult doctor so no need to book appointment

Figure 11.9 Expert System result

51
If result is not good consult doctor.to consult book an appointment

52
Figure 11.10: Doctor login

Figure 11.11: Doctor home page

53
Figure 11.12: Appointment list

54
Figure 11.13: Add suggestions

Figure 11.14: User login and can check their disease suggestion in Expert Response

55
CHAPTER-12

CONCLUSION AND FUTURE SCOPE

CONCLUSION
If the past enterprise management is based on information, so the future enterprise management
will rely on the implementation of artificial intelligence platform, artificial intelligence for
enterprise management theory impact and impact will be more and bigger, therefore, enterprise
managers to in-depth analysis of artificial intelligence for the impact of enterprise management
theory, comply with the development of artificial intelligence, it into a powerful weapon to
promote the rapid development of the enterprise.

FUTURE SCOPE
A more in-depth discussion of the potential benefits and risks of AI for enterprise management.
The paper briefly discusses some of the potential benefits of AI, such as increased efficiency
and productivity, improved decision-making, and new opportunities for innovation. However, it
does not spend much time discussing the potential risks of AI, such as job displacement, bias,
and privacy concerns. A more in-depth discussion of these potential risks would be helpful for
readers who are considering how to adopt AI in their own organizations. A more comprehensive
review of the literature on AI and enterprise management. The paper cites a number of sources,
but it does not provide a comprehensive review of the literature on this topic. A more
comprehensive review of the literature would help to contextualize the paper's findings and
identify areas for future research. A more concrete set of recommendations for how to adopt AI
in enterprise management. The paper concludes with a brief discussion of how to adopt AI in
enterprise management. However, the recommendations are somewhat general and could be
made more specific. For example, the paper could recommend specific AI tools and techniques
that could be used to improve different aspects of enterprise management.

56
CHAPTER-13
BIBLIOGRAPHY

[1] Yinzhou Xu, Danqi Li, Siying Gong.The Combination of Artificial Intelligence and
Enterprise Management Innovation [J].Business Economics Research, 2020 (10): 113-116.

[2] Yingying Chen, Ying Wang, Huaige Liu, Yin Lan.Research on the Impact of AI on
Enterprise Management [J].China Market, 2020 (02): 186-188.

[3] Peng Xu, Xiangyi Xu.The Logic and Analysis Framework for Enterprise Management
Change in the Age of AI [J].Management World, 2020,36 (01): 122-129 + 238.

[4] Yonggui Wang, Xia Li.Innovative Development of Enterprise Management with Chinese
Characteristics in the New Era [N].People's Daily, 2019-11-25 (009).

[5] Jian Huang, Li He.The Application of AI in Enterprise Management [J].Technology


Entrepreneurship Monthly, 2018,31 (12): 125-127.

[6] Shanxing Gao, Jiahui Liu.The Impact and Response of Artificial Intelligence on
Enterprise Management Theory [J].Scientific Research, 2018,36 (11): 2004-2010.

[7] Xiang Li, Dongqun Huang.Thinking on the Development of enterprise Human Resources
under the horizon of artificial intelligence [J].Rural Economy and Technology, 2018,
v.29˗No.439(11):185-186+199.

[8] Xin Zhang.Enterprise personnel traffic management based on the Internet of Things and
AI technology [J].Smart Architecture, 2017 (4).

[9] Yalin Deng, Jisheng Jiang.Enterprise Personnel Management Change in the AI Era
[J].Enterprise Reform and Management, 2018, No.329(12):83+85.
57
[10] Decheng Mao, Yan Liu, Yue Li.Impact of AI on modern enterprise management
[J].Changsha University Journal, 2019 (1).

[11] Binbin Zhang.Research on the Challenge and Response of AI to Modern Enterprise


Management [J].Modern Business, 2018 (34): 120-121.

[12] Linwen Yu.Impact of big data and AI technology changes on the future development of
financial management [J].International Business Accounting, 2018 (10): 30-32.

[13] Xueming Huang.Artificial intelligence: Redefining Talent Management [J].Robot


industry, 2017, (2): 101-112.

[14] Chunhua Chen.The arrival of the shared era requires managing a new paradigm
[J].Management Journal, 2016,13 (2): 157-164.

58

You might also like