amitabh27 / Rakathon

Team - Brogrammers. AIRA - Software Solution for Next Generation E-commerce.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rakathon

AIRA - Software Solution for Next Generation E-commerce.

  • A - Analytical Dashboard
  • I - Image Based
  • R - Recommender
  • A - Alexa Skill

Problem Statement:

The major problems that we were able to identify are as follows:

1. Campaign Analyzer:

  • Every E-commerce firm runs campaigns on different social media websites in order to promote their flash sales or product launches under collaboration with other product companies.
  • Each of these social networking websites have got their own analytical dashboard in order to analyse how well the campaign is doing in terms of views, likes, dislikes, post reachability, unique visitors etc
  • But for the data analysts at the E-commerce firm it becomes difficult to collectively analyse the same which leads to the need of having a social analytical dashboard which could pull real time data from these websites and come up with the necessary data visualizations thus making it easier for the e-commerce firm.
  • Why there is a need of Unified Dashboard?
    • It’s important to keep track of how well your campaigns are doing on different social media websites. Usually it might do good enough one but not on the other.
    • So, the firm needs to have insights on where the campaign is doing good to power their decisions in terms of where to put more money to promote their campaigns and how much!

2.Image Based Recommendation:

  • Currently the process of searching on E-commerce websites is query based. Most of the internal search engines run on text-based queries and rely on the keywords or tags used with the product image in order to be picked up for the user.
  • The efficiency of such a model relies on the skill-level of the domain-expert who is responsible for providing the right set of keywords for every product’s image in the catalogue so that it gets picked up by the Recommendation Engine when the user issues a query on the user interface of the app/website of E-commerce firm.
  • We propose an Image based Recommender which will try to extract the product features from the multiple images of the product that are fed to it.
  • Why there is a need of Image based Recommender?
    • Reduces the human intervention while uploading the catalogue of products to the website.
    • More accurate and precise recommendations.

Proposed Solution:

As a unified software solution, we present the product AIRA (Analytical Dashboard + Image based Recommender + Alexa skill) Engine which consist of three software modules:

1. SOFTWARE MODULE – CAMPAIGN ANALYZER:


  • The social media websites that we are targeting are:
    • Youtube
    • Twitter
    • Facebook
    • Google analytics for the E-commerce website pages
  • The Data Visualizations the dashboard will have are:

    • Twitter Based:
      • What are the Named Entities people are referring to while tweeting about your campaign (Named Entity Recognition).
      • What are the top positive and negative tweets about your campaign
      • Data visualisations depicting sentiment analysis about the campaign
    • Youtube Based:
      • Video Length v/s likes data visualisations
      • Views based data visualisations across different videos for the same campaign
      • Most Liked and Most disliked videos
    • Facebook based:
      • Likes distribution across posts.
      • Post Reachability
      • Most viewed posts
    • Google Analytics based:
      • Number of unique visitors for every page of the E-commerce Website.
      • Visitors plotted across time duration for every page.
  • Benefits of such a dashboard:
    • To capture user’s journey from seeing the campaign advertisement to buying a product.
    • Aggregating and Summarising the data spread across different social networking websites.
    • Presenting the data insights in a meaningful and human-readable format thus making the job easier for management people.
    • Helping to solve questions like where to spend and how much to spend?
    • Calculating KPIs (Key Performance Indicator).
  • Architecture of the Software Module:


  • Technology Stack:
    • Data Aggregation (Data Source in above figure): Twitter Streaming APIs, Youtube REST Reporting APIs, Facebook Graph APIs, Google Analytics data.
    • Data Analysis (Using AWS Analytics Services): Amazon Kinesis as a data ingestion technology, S3 buckets for Storage, Athena for population data into tables and running queries.
    • Data Visualisation (Using AWS Quicksight): It has got all kinds of different data visualisations to present data analysis in a human readable form and generate stories/dashboards for non-technical people.
    • Deployment: AWS Cloud.

2. SOFTWARE MODULE – IMAGE BASED RECOMMENDATION:


There are two software sub-modules involved here namely:

Catalogue Building Module:

  • This is the phase where in the data operator uploads multiple images of the product from the shopkeeper on the E-commerce website for sale. These photos include images of the actual product and packaging box.
  • The data operator does so via a User Interface which allows him to upload multiple images of a product.
  • Now for each of the image, we do the following:
    • AWS-Rekognition Services are applied to the image in order to extract the information contained in the image.
      • detectLabels(): Detects the instances of real world entities in an image.
      • detectText(): To extract the text present in images irrespective of the language. To extract information present on the packaging of the product.
      • recogniseCelebrities(): To identify if any celebrity is associated with the product whose image might be present on the packaging material.
    • AWS-Translate Services to translate the retrieved information into English Language.
    • AWS-Comprehend Services to identify the keywords and Named Entities from translated information.
      • detectKeyphrases() from extracted text.
      • detectedEntitites() from Extracted text.
  • Once the information is extracted from the images, the information extrcated gets stored in the database.
  • All this happens on a single click, when the data operator uploads the images of the product.

User Interaction Module:

  • Once we have augmented the images with the information contained in them, its time to use the same for generating the recommendations for the user.
  • The User interface is pretty simple wherein initially the user is presented with few random product images and once he expresses his interest by liking one of them, the clustering algorithm goes back to the database in order to find products with information similar to the one liked by the user.
  • Architecture of Catalogue Building Module:

  • Design of the User Interface:
    • The UI on the e-commerce website will be designed such that when the user expresses his interest towards a product by liking the image then the Recommendation Engine will perform a scan on the DB to find products whose keywords provide a good match against the product selected and those will be recommended to the user.
    • LDA - Latent Dirichlet Allocation Model :
      • Motivation : LDA is a topic modelling algorithm which tries to cluster images based on the extracted text from images.
      • Outcome : Product images with similar textual descriptions
    • TF-IDF - TermFrequency - InverseDocumentFrequency Model :
      • Motivation : TF-IDF is a document clustering technique which tries to identify most similar documents to the sample document by generating vectorize representations and then using cosine similarity to measure similarity percentage.
      • Outcome : Product images with similar textual descriptions
    • Elastic Search Engine : Running on a Single Node Cluster
      • Motivation : Using search() and multi_search() services of fast paced elastic search which is working on an index built on the catalog of products.
      • Outcome : Product images with similar labels
  • Architecture of User Interface powered by Recommender:

  • User interface screenshots:



  • Technology Stack:
    • Visual Recognition Tool : NodeJS Project
      • Server-Type : REST
      • Programming Language : NodeJS with Express Framework (REST Server + Web App)
      • App : NodeJS App
      • Database : MongoDB hosted on MLAB
      • Hosted : Localhost Server
      • Major API Endpoint : http://localhost:3000/dataoperators/dataoperator
      • 3rd Party APIs used : Aws Recognition Services like detectLabels(),detectText(),recogniseCelebrities(). AWS Translate Service,AWS Comprehend Service like detectKeyphrases()
    • Recommendation Engine : Python Project
      • Server-Type : Python Project (REST Server)
      • Programming Language : Python
      • App : Flask App
      • Hosted : Localhost Server
      • Database : MongoDB hosted on MLAB
      • Major API Endpoint : http://localhost:5000/recommendations/labels/keyphrases/training_parameter
      • Machine Learning Models used : LDA and TF-IDF along with the search queries powered by Elastic Search Engine
    • Elastic Search Engine - Lucene Based : Java Project
      • Server-Type : Java Project (REST Server)
      • Programming Language : Java
      • App : Java web app
      • Hosted : Single Node Cluster running on Localhost Server on port 9200
      • Database : MongoDB hosted on MLAB
      • Major API Endpoint : http://localhost:9200
      • Search Queries : search() and multi_search() working on index built on top of catalog of products. /li>

    3. SOFTWARE MODULE : Alexa Skill Voice based bargaing assistant for E-commerce


    • With the advances in voice enabled devices like Amazon’s Echo and Google Home, the customers of these devices prefer using them for many purposes, but voice enabled shopping via ecommerce sites is an area still unexplored
    • We propose to build an Alexa skill that will enable the user to buy products via ecommerce sites directly by using their Alexa enabled devices
    • One of the major challenge in bringing the offline customers to online shopping is lack of bargain on ecommerce site, but our skill will remove that obstacle by giving voice chat enabled bargain feature based on a complex algorithm that will benefit both the customers and the ecommerce
    • Benefits of Alexa Skill for ecommerce?
      • The skill will help the organization to target the growing customer base that possess voice enabled smart devices
      • The bargain feature will help the organization to target the major sector of offline shoppers, that are reluctant to buy online by giving them the offline retail shop
      • With the personalized conversation between Alexa and customer, the buyer will gain trust in the organization.
    • Sample Intents
      • Checking Price of a Product
      • Checking cart details
      • Buying of goods
      • Cancelling of goods, asking for refund and return of goods
      • Checking Order Status
      • Bargain on the price offered. Bargaining algorithm takes folowing parameters into account while bargaining:
        • Frequent user : whther he has bought atleast 3 times in last one month
        • Product popularity: The product being bought is a best seller or not in the region user belongs to.
        • Seller Earnings : If seller has registered multiple units of that product and for quite some time not even a single unit has been sold.
    • Technology Stack:
      • Server-Type : REST
      • Programming Language : NodeJS with Express Framework (REST Server + Web App)
      • App : NodeJS App
      • Database : MongoDB hosted on MLAB
      • Hosted : AWS Lambda
      • 3rd Party APIs used : MLAB APIs, Nexmo Messaging APIs, Node Mailer Emailing APIs, Google Maps APIs, Alexa Cards for Alexa App

    Video Demonstration of alexa Conversation:
    Watch the video

    • Architecture of Alexa Skill :

    • Admin Dashboard of Alexa Skill :

About

Team - Brogrammers. AIRA - Software Solution for Next Generation E-commerce.


Languages

Language:JavaScript 66.6%Language:HTML 20.6%Language:Python 11.6%Language:CSS 1.2%