Professional Documents
Culture Documents
Ecom Predictor
Date: 03-June-2020
Student 1
Name: Aanish Amir Waseem
Signature: _______________________
Student 2
Name: Muhammad Kamran
Signature: _______________________
Student 3
Name: Waleed Ahmad
Signature: _______________________
Student 4
Name: Tayyab Ali
Signature: _______________________
Table of Contents i
Table of Contents
Table of Contents .................................................................................................................... i
List of Tables ........................................................................................................................ iv
List of Figures ....................................................................................................................... vi
Abstract ...................................................................................................................................... 1
Chapter 1: Introduction .............................................................................................................. 2
1.1 Goals and Objectives ....................................................................................................... 2
1.2 Scope of the Project ......................................................................................................... 2
Chapter 2: Literature Survey / Related Work ............................................................................ 3
2.1 Smart Corp ....................................................................................................................... 3
2.2 Zoho CRM ....................................................................................................................... 4
2.3 Retention Grid.................................................................................................................. 5
2.4 Clari.................................................................................................................................. 6
2.4.1 Usage Scenario..................................................................................................... 6
2.4.2 Inside Working..................................................................................................... 6
Chapter 3: Requirements and Design ........................................................................................ 7
3.1 Functional Requirements ................................................................................................. 7
3.1.1 Functional requirements for users........................................................................ 7
3.1.2 Functional requirements for admin ...................................................................... 7
3.1.3 Functional requirements for automated predictor ................................................ 7
3.2 Non-Functional Requirements ......................................................................................... 8
3.2.1 Performance ......................................................................................................... 8
3.2.2 Sustainability........................................................................................................ 8
3.2.3 Usability ............................................................................................................... 8
3.2.4 Reliable ................................................................................................................ 8
3.3 Hardware and Software Requirements ............................................................................ 9
3.3.1 Hardware Requirements....................................................................................... 9
3.3.2 Software Requirements ........................................................................................ 9
3.4 System Architecture ....................................................................................................... 10
3.4.1 Component references........................................................................................ 12
3.4.2 Admin Component ............................................................................................. 13
3.4.3 Client Component .............................................................................................. 14
3.4.4 Automated Predictor .......................................................................................... 15
3.5 Architectural Strategies.................................................................................................. 16
3.5.1 Python, React and Node..................................................................................... 16
3.5.2 Future plans for enhancing software .................................................................. 16
3.5.3 User interface paradigms ................................................................................... 16
3.5.4 Error detection and recovery.............................................................................. 16
3.5.5 Database Storage management .......................................................................... 16
3.6 Use Cases ....................................................................................................................... 17
3.6.1 Registration Customer Account ......................................................................... 17
3.6.2 Login Account.................................................................................................... 18
3.6.3 My Profile .......................................................................................................... 19
3.6.4 Reset Password .................................................................................................. 20
3.6.5 General Visualization......................................................................................... 21
3.6.6 Upload Data ....................................................................................................... 21
3.6.7 Sales Forecast..................................................................................................... 22
3.6.8 Market Basket .................................................................................................... 22
3.6.9 RFM Segmentation ............................................................................................ 23
3.6.10 Customer Lifetime Modeling............................................................................. 24
3.6.11 Uplift Modeling.................................................................................................. 24
3.6.12 Market Response Modeling ............................................................................... 25
3.6.13 Churn Analysis................................................................................................... 25
3.6.14 Change Plan ....................................................................................................... 26
3.6.15 Admin Add Customers ...................................................................................... 26
3.6.16 Admin Delete Customers ................................................................................... 27
3.6.17 Actions ............................................................................................................... 27
3.7 GUI................................................................................................................................. 28
3.8 Database Design............................................................................................................. 40
3.8.1 ER Diagram........................................................................................................ 40
3.8.2 Data Dictionary .................................................................................................. 40
3.9 System Requirements..................................................................................................... 44
3.9.1 Hardware Requirements..................................................................................... 44
3.9.2 Software Requirements ...................................................................................... 44
3.10 Design Considerations ................................................................................................. 44
3.10.1 Assumptions and Dependencies ........................................................................ 44
3.10.2 General Constraints............................................................................................ 45
3.11 Development Methods ................................................................................................. 46
3.12 Class diagram ............................................................................................................... 47
3.13 Sequence diagram ........................................................................................................ 48
3.14 Policies and Tactics...................................................................................................... 58
3.14.1 Python 3.6.8 libraries ......................................................................................... 58
3.14.2 Coding guidelines and conventions ................................................................... 58
3.14.3 Testing the software ........................................................................................... 58
3.14.4 Maintaining the software ................................................................................... 58
3.14.5 Accessing the application................................................................................... 58
Chapter 4: Implementation and Test Cases ............................................................................. 59
4.1 Implementation .............................................................................................................. 59
4.1.1 Holt’s Linear Trend Method .............................................................................. 59
4.1.2 ARIMA model ................................................................................................... 60
4.1.3 Frequent Pattern Algorithm ............................................................................... 60
4.1.4 Segmentation of Customer based on RFM scoring ........................................... 61
4.1.5 Customer Lifetime Value Prediction ................................................................. 62
4.1.6 Uplift Modeling.................................................................................................. 63
4.1.7 Churn Analysis................................................................................................... 64
4.1.8 Market Response................................................................................................ 64
4.2 Test case Design and description ................................................................................... 65
4.2.1 Register Customer Account ............................................................................... 65
4.2.2 Register Customer Account (Alternate-4A) ...................................................... 66
4.2.3 Login Account.................................................................................................... 67
4.2.4 Login Account (Alternative-4A)........................................................................ 68
4.2.5 My Profile .......................................................................................................... 69
4.2.6 My Profile (Alternative-4A) .............................................................................. 70
4.2.7 Reset Password .................................................................................................. 71
4.2.8 Reset Password (Alternate-4A).......................................................................... 72
4.2.9 Reset Password (Alternate-7A).......................................................................... 73
4.2.10 Reset Password (Alternate-7B) .......................................................................... 74
4.2.11 General Visualization......................................................................................... 75
4.2.12 General Visualization (Alternate-4A) ................................................................ 76
4.2.13 Upload Data ....................................................................................................... 77
4.2.14 Upload Data (Alternate-6A)............................................................................... 78
4.2.15 Upload Data (Alternate-7A)............................................................................... 79
4.2.16 Sales Forecast..................................................................................................... 79
4.2.17 Market Basket .................................................................................................... 80
4.2.18 Customer Lifetime Modeling............................................................................. 80
4.2.19 Churn Analysis................................................................................................... 81
4.2.20 RFM Segmentation ............................................................................................ 81
4.2.21 Market Response Modeling ............................................................................... 82
4.2.22 Uplift Modeling.................................................................................................. 83
4.2.23 Change Plan ....................................................................................................... 84
4.2.24 Change Plan (Alternate-8A)............................................................................... 85
4.2.25 Login Account as Admin ................................................................................... 86
4.2.26 Login Account as Admin (Alternate-4A) .......................................................... 87
4.2.27 Admin Adds Customer ...................................................................................... 88
4.2.28 Admin Adds Customer (Alternative-6A)........................................................... 89
4.2.29 Admin Delete Customer..................................................................................... 90
4.2.30 Actions ............................................................................................................... 91
4.2.31 Limit on Data Size ............................................................................................. 92
4.2.32 Load Time .......................................................................................................... 92
4.2.33 Uptime................................................................................................................ 93
4.2.34 Chrome, Firefox Compatibility.......................................................................... 93
4.3 Test Metrics.................................................................................................................... 94
Chapter 5: Experimental Results and Analysis........................................................................ 95
Chapter 6: Conclusion.............................................................................................................. 96
References ................................................................................................................................ 97
List of Tables iv
List of Tables
List of Figures
Figure 1: List of Styles Figure 1: High level System Architecture.......................................... 10
Figure 2: Low level System Architecture ................................................................................ 11
Figure 3: Admin Component ................................................................................................... 13
Figure 4: Client Component..................................................................................................... 14
Figure 5: Automated Predictor System Component ................................................................ 15
Figure 6: Admin Overview ...................................................................................................... 28
Figure 7: Admin Customer ...................................................................................................... 28
Figure 8: Admin registered users ............................................................................................. 29
Figure 9: Admin Actions ......................................................................................................... 29
Figure 10: User Home 1........................................................................................................... 30
Figure 11: User Home 2........................................................................................................... 30
Figure 12: User Home 3........................................................................................................... 31
Figure 13: User Home 4........................................................................................................... 31
Figure 14: Admin Login .......................................................................................................... 32
Figure 15: Change Plan............................................................................................................ 32
Figure 16: User Login .............................................................................................................. 33
Figure 17: Create Account ....................................................................................................... 34
Figure 18: Edit Profile ............................................................................................................. 35
Figure 19: Upload Data............................................................................................................ 35
Figure 20: Sales Forecast ......................................................................................................... 36
Figure 21: Market Basket......................................................................................................... 36
Figure 22: Customer Lifetime Modeling GUI ......................................................................... 37
Figure 23: Segmentation GUI .................................................................................................. 37
Figure 24: Churn GUI .............................................................................................................. 38
Figure 25: Sales Forecast checked GUI ................................................................................... 38
Figure 26: Sales Forecast unchecked GUI ............................................................................... 39
Figure 27: Sales Forecast Visualization................................................................................... 39
Figure 28: ER Diagram ............................................................................................................ 40
Figure 29: Class Diagram ........................................................................................................ 47
Figure 30: Actions.................................................................................................................... 48
Figure 31: Change Plan............................................................................................................ 48
Figure 32: Churn Analysis ....................................................................................................... 49
Figure 33: Customer Lifetime Modeling ................................................................................. 49
Figure 34: Customer Purchase Trend ...................................................................................... 50
Figure 35: Customer Segementation........................................................................................ 50
Figure 36: Generate Visualization ........................................................................................... 51
Figure 37: Login Account ........................................................................................................ 51
Figure 38: Manage Customers ................................................................................................. 52
Figure 39: Market Basket......................................................................................................... 53
Figure 40: My Profile............................................................................................................... 53
Figure 41: Predict Cancellation ............................................................................................... 54
Figure 42: Predict Popular Product .......................................................................................... 54
Figure 43: Registration Account .............................................................................................. 55
Figure 44: Reset Password ....................................................................................................... 56
Figure 45: Sales Forecast ......................................................................................................... 57
Figure 46: Upload Data............................................................................................................ 57
Figure 47: Formula for forecasting equations.......................................................................... 59
Ecom Predictor 1
Abstract
The purpose of this project was to complete a web application capable of predicting and
recommending productive methods to enhance the sales of an ecommerce store. It is essential
to note that ecommerce sales mounted up to 3.5 trillion dollars in 2019 alone and are
expected to double in 5 years time. Ecommerce is an ever emerging business which lacks the
resources for new startups, making it difficult for them to compete with the giants. However
with Ecom predictor that can change altogether since the essentials to boost the sales in the
first few phases of the store are effectively delivered by it. Moreover, the web application
provides valuable insight about the ongoing and future sales of the store. The application
developed in this project uses mongodb, node, react and python. Apart from the user friendly
interface, the website also houses several data science techniques which have been used to
perform a list of predictions and recommendations which are being generated by the
automated predictor system in python. The basic idea for pursuing such a project was to
accommodate the small scale ecommerce stores with vital yet credible information for
increasing the overall effectiveness with which the business of ecommerce is carried out. All
this is conveyed to the ecommerce store owners with the help of visual representation so that
he/she can take strategic decisions to evolve the store’s success. This project can potentially
host numerous other data science techniques which cater the ecommerce industry.
Keywords: node, react, mongoDB, automated, prediction, recommendation, visual
Introduction 2
Chapter 1: Introduction
Almost 25% of the world’s population [21] has shifted to online shopping. Ecommerce
Giants like Amazon and Alibaba having a huge stake in the industry use the resources at hand
to overwhelm the smaller stores. This in turn neglects the small store owners of a fair market
exposure. Here is where Ecom Predictor provides a platform for these store owners to utilize
the data at their disposal to grow and expand their services above and beyond the need of the
valuable customer.
The ecommerce predictor system of Ecom Predictor would be using critical data science
techniques to implement a series of predictions and recommendations (referred to as actions
in further sections of this document) on the sales data provided by ecommerce store owners.
The provided data would be cleaned for a few known anomalies. Actions would be applied
on this data set and certain results would be gained for each of the multiple actions. After the
predictor system is done with the actions, visualizations would be generated based on the
results using some visualization tool. Moreover, the user would be offered a simple,
streamlined and efficient user interface. It would be intuitive for any first time user.
Our automated predictor system would be using python scripts to perform various actions
like customer behavior and product trends. This would not only help the ecommerce owners
to understand the nature of the sales but will also guide them to enhance it.
Our project would be providing a service to the ecommerce store owners via a simple web
application hosted on cloud.
The subsequent part of this report would be about the literature review and the summary of
similar work, requirements and design, implementation and a conclusion.
● Line Chart
● Bar Chart
● Scatter Chart
● Chart showing Area
● both charts with stacked version
● Combo Charts (without Bubble Chart).
Zoho provides a very helpful feature of “merging data”. Basically, if you to merge data from
2016 with data from 2017, you can use this feature.
Ecom Predictor 5
Retention Grid basically analysis the customer base of a store and design marketing
campaigns and ads for them which most probably is done manually. Nonetheless, it focuses
on bringing our customers closer to us.
Literature Survey / Related Work 6
2.4 Clari
Clari[19] is a CRM platform having revenue operating framework which deploys Artificial
Intelligence and mechanism to reveal all actively information collected in corporate industry
such as advertisement, mobile, email, communications etc. Some of the fundamental things
included in Clari are as follows
● Forecast: anticipate results of sales/revenues for whatever part of work: Brand identities
such as trademarks, up sell. View coverage for any part of the business and group to
calculate exact idea about the pipeline required to reach some numbers in 4 months and
next.
a) Flexible Forecasting
Easily adjust Clari to align with the forecasting language
b) Deal Inventory
Readily access the relevant deals that make up the forecast.
c) Parallel Forecasting
Create multiple forecasting running in parallel to to get a complete picture
across any part of the business.
● Sales Analysis: Access AI-driven deceivability into commitment and action information
to detect the hazard and opportunity
● Improve Implementation: Make the revenue team profitable, from the generation of
pipelines to the completion of deals and churn management.
From Clari’s published paper [20] explaining insights about its algorithms, we get
information about the Forecast Projection.
3.2.2 Sustainability
The system application can be accessed from any computer browser with
mentioned specifications in hardware requirements.
3.2.3 Usability
System interface would be easy to use and attractive, guide customers in an
intuitive manner.
User should be able to respond in a maximum of 4 seconds after looking at the
interface.
3.2.4 Reliable
System would have an uptime of near to 100% due to the very reliable cloud
servers.
Ecom Predictor 9
As shown in high level system architecture, we’ll be implementing client-server structure for
our system, where users can send request to server in order to perform their respective
functions. Two types of users can use this system, an admin or a client/store owner. The
Server will consist of 3 modules (Admin, Client, and Automated Predictor) which will be
shown in low level structure of the system. The Server will be able to access database in
order to store or retrieve any valuable data for executing functions. Along with that, Server
will be able to send API request to Stripe to make payment possible. It will also be handling
response from the API request.
After Performing requested functions/operations at the server, it will send a response to the
user showing results or status of their sent request.
Ecom Predictor 11
As shown in the above figure, user will send a request to server in order to perform shown
operations. Both clients and admin have to first authenticate through our Database residing in
cloud. Firstly, Client has to setup his Stripe through Payment Component in order to actions
to run properly. Client can then upload data by sending it to our system which will be stored
in S3 Bucket on Amazon Web Server. After that, client can mark predictions and
recommendations in order to perform those on our data. Client marked actions will be stored
in a queue in our DB along with details of our client. When Client has marked all the actions,
he will press generate report button which will take corresponding data of that client from the
S3 Bucket and put it in our Automated Predictor which will load client’s marked scripts from
the DB and once loaded, will start executing those actions on his data. Once all predictions
are completed, the results will be saved in corresponding rows of actions in DB. Hence, it
will be displayed to the user.
Requirements and Design 12
Above shown admin component will interact with Database in order to get the list of all
clients and also get info about actions active or disabled in the system. Manage Client will be
responsible to add or remove clients in system. Actions on/off will be responsible for
enabling and disabling actions in our system. Similarly, Admin Component will allow admin
to login system.
Requirements and Design 14
As shown in the above figure, client component will include Sign Up, Login, Upload Data,
Mark Actions, Generate Report, Payment and View report. Upload Data will be responsible
to upload data to our system and save it with customer ID. Mark Actions will get a list of
enabled actions present in the system and will be responsible for marking the selected actions
by the customer. Generate report will mark that user has marked all his desired actions and
processing can be started. Payment component will get Stripe Authentication through API
request and will be responsible for payment of package selected by the customer. Lastly,
View Report component will get results generated from the automated predictor stored in
DB.
Ecom Predictor 15
Automated Predictor will interact with client component as it will start processing when
client component’s generate modules indicates positive. Firstly, it will load data csv file from
S3 Bucket on cloud. Python Scripts component will get list of marked actions and will be
responsible for sending scripts of all desired actions to the code executer. Code Executer
component will simply run these scripts on the data and give output results which will later
go on to store on DB later.
Requirements and Design 16
Summary All the users will be able to login to their respective accounts
3.6.3 My Profile
Name My Profile
Actors Admin, Customer (Free, Standard, Premium)
Summary Login user should be able to see his profile and update it.
3.6.17 Actions
Name Actions
Actors Admin
Summary Able and disable predictions and recommendations.
Pre-Conditions System should be in running state and admin should be logged in.
Post-
Admin should be successfully able/disable predictions button.
Conditions
Special
None
Requirements
Basic Flow
S# Actor Action System Response
1 Select Actions from side menu. 2 System display Actions page.
Admin ticks sales forecasting and unticks System asks for confirmation.
3 4
all other. And press ‘update’ button
5 Admin click on ‘Yes’ 6 System updates actions in the system.
No Alternative Flow
Requirements and Design 28
3.7 GUI
The following are the screens for the admin end:
The following are the screens for the user end and other screens:
3.8.1 ER Diagram
3.8.2.2 Customer
Table 21: Customer Data Dictionary
This is the data dictionary of the customers.
Pay Int 50
SalesForecast, MarketBasket
SelectedAction Array
Requirements and Design 42
3.8.2.3 Record
Table 22: Record Data Dictionary
This is the data dictionary of the record of the processed results.
SalesForecast Object -
MarketBasket Object -
UpliftModelling Object -
Customer
LifeTime Object -
Modelling
MarketResponse Object -
Segmentation Object -
ChurnAnalysis Object -
Ecom Predictor 43
3.8.2.4 Action
Table 23: Action Data Dictionary
This is the data dictionary of the action table.
SalesForecast Object -
MarketBasket Object -
UpliftModelling Object -
Customer
LifeTime Object -
Modelling
MarketResponse Object -
Segmentation Object -
ChurnAnalysis Object -
Requirements and Design 44
1) Level Equation
2) Trend Equation
3) Forecast Equation
First two equations are also known as smoothing equations. Level equation gives the average
value of the series; also known as average value of the observation. Moreover, second
equation is a general pattern of the number of sales that happen in a fixed time period prices
that we observe over a time period t of the estimated trend with respect to other parameters.
Forecast equation is the addition of level and trend until we know the number of sales after
that it is the addition of level and the h times of trend, that represents the linear function. The
value of h increases linearly [22].
Alpha and Beta are the smoothing constants, their value lies in the following range
(0<=Alpha,Beta<=1). For the optimal solution, we have to find the best value of alpha and
beta for the better accuracy. Select the lesser value of alpha and beta if data has random
fluctuations; select the greater value if data follows the trend. This method would show the
increasing or decreasing trend of the sales in this case. For the accuracy of the model, we
calculate the RMSE scores. It gives the better solution when compared with other methods.
Implementation and Test Cases 60
First of all it finds all the occurrence of items which are being bought in the same transaction,
after that all the counts of a single items are maintained, which will be considered as support
count.
An FP tree is created; root node is considered as null and then place the maximum support
count at the top and places other nodes in descending order. And maintains the item sets in
order as well. Each node contains item name, support count and the link.
Now examine all the transactions, in the first transaction if any node is not present then
remove it from the tree. Moreover, if any other item set follows the previous transactions then
they will share a common link. This common transaction is linked to the new node for
another transaction; the support count of this new node is increased by one. Repeat this
process for all the transaction or the item sets [23].
This algorithm is thus better than Apriori, since Aprori is costly and take more time because
of the number of scans of the dataset that are performed again and again. FP growth uses
divide and conquer approach which is efficient and takes less time and give better accuracy.
Ecom Predictor 61
Tier-1 being the most recent and frequent and monetary while Tier-4 being the least recent
and frequent [24]. 4.3.1 Why RFM is important?
One parameter is insufficient to check customer lifetime value i.e. one customer buys
something one year but in a large quantity. Now he is not using that brand. He changed his
mind. Can you say that he is again buying that product from you? Assumptions can be made
but there is no correct answer. So, he is not your best customer now.
On the other hand, if we analyze data just on the base of recency i.e. sorts out by recency.
Customers, who purchased recently, come on the top. This method fails when some
customers buy recently but he is not first time or not a frequent user, buy in a small quantity
than others, or buy cheap items. Then this customer is probably not a potential customer for
us. We find recency score that how recent one customer purchased any item.
If data is analyzed based on the frequency alone i.e. sort out by frequency. Customers, who
purchased more items, come on the top. This method fails when some customers buy recently
but its first time or not a frequent user, buy in a large quantity than others a year ago, or buy
cheap items. Then this customer is probably not a potential customer for us. We find this
score by calculating total quantity of items buy each customer.
If data is analyzed based on the monetary alone i.e. sort out by monetary. Customers, who
purchased expensive items, come on the top. This method fails when some customers buy
first time or not a frequent user, buy in a large quantity than others, or buy expensive items.
Then this customer is probably not a potential customer for us. Calculate this score by
multiplying quantity with its price and sum up this score against each customer id.
So, RFM model is made by using all of these to counter their individual failures. We find
cluster all of these scores with the help of Kmeans and elbow method.
RFM takes average of these three and ranks according to this. In this case, we get our best
customers. With the help of RFM, the values of the parameters can be increased or decreased
adjusting according to the business plan.
If some business sale high monetary things like AC, Bikes. Then frequency does not matter
the most. Monetary value has highest use in this type of business. Recency is also does not
matter because customers are not regular in this business. While in cosmetics customer buy
less monetary but regularly. So, in this case recency is important.
Implementation and Test Cases 62
For top 5 ranks of recency, frequency and monetary tables. We get total 125 values of RFM
i.e. 5*5*5. So, it is difficult visualize all of these on 3D screen. We just use frequency and
recency because monetary is covered under these. We easily show this segment on 2D
screens. This depicts the different customer segmentations. We show segments like best
customer, risk customer, can’t lose them, churned best customer etc [25].
4.2.5 My Profile
Customer Profile
Component ID - 08
Test Case ID: 4.2.5 QA Test Engineer: Waleed Ahmad
Test case Version: 1 Reviewed By: Muhammad Kamran
Test Date: 02/05/2020 Use Case My Profile UC
Reference(s):
Revision History: None
Objective Customer should be able to update his profile
Product/Ver/Module: Profile Module
Environment: Software: Any Modern Browser
Hardware: PC
Assumptions: The computer of customer should be connected to Internet.
Pre-Requisite: Customer should be logged in.
Step No. Execution description Procedure result
1 User opens the My Profile page. My Profile page is displayed to the user.
2 Click on edit if you want to change System verify the credentials, update it and
email, password OR click on show a message to the user: Update
profile image to change successfully.
image.
Comments:
The system works as expected
4.2.30 Actions
Actions
Component ID - 05
Test Case ID: 4.2.30 QA Test Engineer: Waleed Ahmad
Test case Version: 1 Reviewed By: Muhammad Kamran
Test Date: 02/05/2020 Use Case Actions UC
Reference(s):
Revision History: None
Objective Admin should be able to active or deactivate actions in the system
Product/Ver/Module: Actions Module
Environment: Software: Any Modern Browser
Hardware: PC
Assumptions: The computer of customer should be connected to Internet.
Pre-Requisite: System should be in running state and admin should be logged in.
Step No. Execution description Procedure result
1 Select ‘Actions’ from side menu. System display Actions page.
2 Admin ticks sales forecasting and System asks for confirmation.
unticks all other. And press
‘update’ button
Admin click on ‘Yes’ System updates actions in the system.
Comments:
The system works as expected
4.2.33 Uptime
Client
Component ID - 02
Test Case ID: 4.2.33 QA Test Engineer: Waleed Ahmad
Test case Version: 1 Reviewed By: Muhammad Kamran
Test Date: 02/05/2020 Use Case None
Reference(s):
Revision History: None
Objective The system should have 95% uptime.
Product/Ver/Module: Client Module
Environment: Software: Any Modern Browser
Hardware: PC
Assumptions: The computer of customer should be connected to Internet.
Pre-Requisite: None
Step No. Execution description Procedure result
1 Use system features for some time. View uptime on cloud. If more than 95%,
pass. Otherwise, failed
Comments:
The system works as expected.
Metric: Value
Number of Test Cases: 34
Number of Test Cases Passed: 33
Number of Test Cases Failed: 1
Test Case Defect Density: 7.69%
Test Case Effectiveness: 66.67%
Traceability Matrix: Traceability matrix is provided separately as excel file.
Ecom Predictor 95
Chapter 6: Conclusion
Overall, in the entire project, we have implemented Data science techniques that are quite
benefactor for the ecommerce business. Even though our project uses the core and simpler
techniques like linear regression and logistic regression, we are quite able to develop a
prototype that supports business intelligence. For instance, one of the actions we have
implemented called churn analysis is simply logistic regression as seen on a low level.
Summarizing all of the work done so far, we have successfully implemented all 7 predictions
initially proposed, the details of which are provided in the document above. In addition to
this, we have developed our website. Looking back, we realize that these predictions are
fulfilling them.
The purpose for which they were made, e.g. our first prediction, sales forecasting
successfully predicted next month's revenue and provided a clear graph for better analyzing
purposes.
Hence, our project covered concepts data science along with business intelligence. While
there were successes, there were some setbacks too. As an example, when we were
implementing the decided predictions, we realized that some of the predictions were not
possible to implement. To solve this issue, we changed those problematic predictions and
added a few new ones in their place.
For someone carrying our work forward, we him/her recommend to fulfill the core purpose
for the project i.e. to boost businesses around the world. For example, our implemented sales
forecasting warns our customers about a sales drop coming next month; someone can
improve this by implementing a system that advises what measures you can take to tackle this
drop. To conclude, we are right on our track and will complete the project at the decided
deadline.
Ecom Predictor 97
References
[1] X. Amatriain, “In Machine Learning, What is Better: More Data or better Algorithms
– Kdnuggets,” KDnuggets. [online] Available at: https://www.kdnuggets.com/2015
/06/machine- learning- more-data-better-algorithms.html [Accessed 1 Oct. 2019].
[2] C. Nishant, “21 Performance Optimization Techniques for React Apps,” December
26, 2018. [blog] Available at: https://www.codementor.io/blog/react-optimization-
5wiwjnf9hj [Accessed 10 Oct. 2019].
[3] A. Arvanitakis, “6 tips for better React performance,” itnext.io. [online] Available at:
https://itnext.io/6-tips-for-better-react-performance-4329d12c126b [Accessed 20 Sep.
2019].
[4] How to Start a New Domain, “How Much is a Domain Name?” (And How to Get One
at NO COST!). August 30,2019. [online site] Available at: https://startbloggingonline
.com/how-much- is-a-domain- name/ [Accessed 4 Oct. 2019].
[5] Business.qld.gov.au, “Benefits of cloud computing | Business Queensland,” July
21,2017. [online] Available at: https://www.business.qld.gov.au/running-
business/it/cloud-computing/benefits [Accessed 26 Sep. 2019].
[6] S. Li, “A Gentle Introduction on Market Basket Analysis — Association Rules,” in
Towards Data Science. [online] Available: https://towardsdatascience.com/a-gentle-
introduction-on-market-basket-analysis-association-rules-fa4b986a40ce [Accessed 1
Oct. 2019].
[7] J. Kranz, “Predicting Product Returns in E-Commerce: The Contribution of
Mahalanobis Feature Extraction Completed Research Paper,” in Proceedings of the
36th International Conference on Information Systems (ICIS), [ebook], (2015)
Available at: https://www.researchgate.net/publication/283271154_Predicting_
Product_Returns_in_ECommerce_The_Contribution_of_Mahalanobis_Feature_Extra
ction_Completed_Research_Paper
[8] B. Karaman, “Customer Segmentation,” in Towards Data Science. [online]
Available: https://towardsdatascience.com/data-driven-growth-with-python-part-2-
customer-segmentation-5c019d150444 [Accessed 2 Oct. 2019].
[9] B. Karaman, “Customer Lifetime Value Prediction,” in Towards Data Science.
[online] Available: https://towardsdatascience.com/data-driven-growth-with-python-
part-3-customer-lifetime- value-prediction-6017802f2e0f [Accessed 1 Oct. 2019].
[10] B. Karaman, “Churn Prediction”. in Towards Data Science. [online] Available at:
https://towardsdatascience.com/churn-prediction-3a4a36c2129a [Accessed 1 Oct.
2019].
[11] A. Muhammad, “Predictive Analytics: Predictive Consumer Behaviour with Data
Analytics,” in Towards Data Science. [online] Available at: https:// towards
datascience.com/predictive-analytics-predicting-consumer-behavior-with-data-
analytics-8ca51abb8dc2 [Accessed 4 Oct. 2019].
[12] C. Clark, “A Simple Trending Products Recommendation Engine in Pytho,” February
28, 2017. [blog] Available: http://blog.yhat.com/posts/trending-products ecommender
-engine.html [Accessed 2 Oct. 2019].
References 98
[13] Quora.com, “How many ecommerce sites are there in the world?,” - Quora. October
10, 2017, [online] Available at: https://www.quora.com/How-many-ecommerce-sites-
are-there-in-the-world-1 [Accessed 28 Sep. 2019].
[14] LeanKit.com, "Top 6 Software Development Methodologies | LeanKit," LeanKit,
2019. [Online]. Available at: https://leankit.com/blog/2019/03/top-6-software-
development-methodologies/. [Accessed: 1. Nov. 2019].
[17] Zoho.com, "Zoho - Cloud Software Suite and SaaS Applications for
Businesses", Zoho, 2019. [Online]. Available at: https://www.zoho.com/. [Accessed:
26- Oct- 2019].
[19] Clari.com, "Revenue Operations Platform", Clari, 2019. [Online]. Available at:
https://www.clari.com/. [Accessed: 28- Nov- 2019].
[20] Clari SB AI Applications for Sales, Practical AI Applications for Sales, Clari, 2019.
[21] E. Lewis, "The 30 Most Influential E-Commerce Players in the World", Dealhack,
2019. [Online]. Available: https://dealhack.com/30-most-influential-e-commerce.
[Accessed: 18- Nov- 2019].
[22] Otects.com, "7.2 Trend methods | Forecasting: Principles and Practice", Otexts.com,
2019. [Online]. Available at: https://otexts.com/fpp2/holt.html. [Accessed: 01- Oct-
2019].
[24] Optimove.com, "RFM Segmentation | RFM Analysis, Model, Marketing & Software |
Optimove", Optimove, 2019. [Online]. Available at: https://www.optimove.com
/resources/learning-center/rfm-segmentation. [Accessed: 01- Nov- 2019].