Skip to main content

Recommendation Engines - Know How

Recommendation Engines perform a variety of tasks - but the most important one is to find products that are most relevant to the user. Content based filtering, collaborative filtering and Association rules are common approaches to do so.

So let's first Understand basics of Recommendation Engines and then we'll later on Build Our Own Recommendation Engine !!!

HIGH QUALITY, PERSONALIZED ARE THE HOLY GRAIL FOR EVERY ONLINE STORE.
UNLIKE OFFLINE STORES, ONLINE STORES HAVE NO SALES PEOPLE.
USERS ON THE OTHER HAND HAVE LIMITED TIME AND PATIENCE, ARE NOT SURE WHAT THEY ARE LOOKING FOR ONLINE STORES HAVE A HUGE NUMBER OF PRODUCTS.
RECOMMENDATIONS HELP USERS NAVIGATE THE MAZE OF ONLINE STORES FIND WHAT THEY ARE LOOKING FOR FIND THINGS THEY MIGHT LIKE, BUT DIDN’T KNOW OF.
RECOMMENDATIONS HELP ONLINE STORES SOLVE THE PROBLEM OF DISCOVERY.
BUT HOW? Lets Explain this.

ONLINE STORES HAVE DATA
1) WHAT USERS BOUGHT
2) WHAT USERS BROWSED
3) WHAT USERS CLICKED
4) WHAT USERS RATED

All these DATA IS FED into Recommendation Engine to derive below:
TOP PICKS FOR YOU!!
IF YOU LIKE THIS, YOU’LL LOVE THAT!
IF YOU BUY THIS, YOU’LL NEED THAT!



Tasks Performed by Recommendation Engine

Filter Relevant Products

Sub Tasks: 1.1) PREDICT WHAT RATING THE USER WOULD GIVE A PRODUCT
1.2) PREDICT WHETHER A USER WOULD BUY A PRODUCT
1.3) RANK PRODUCTS BASED ON THEIR RELEVANCE TO THE USER

HOW TO FIND RELEVANT PRODUCTS
1) “SIMILAR” TO THE ONES THE USER “LIKED” (Content Based Filtering)
2) “LIKED”BY “SIMILAR” USERS (Collaborative Filtering)
3) PURCHASED ALONG WITH THE ONES THE USER “LIKED” (Association Rules)

RECOMMENDATION ENGINES NORMALLY USE ONE OR MORE OF THESE TECHNIQUES.

BEFORE WE GO AHEAD, LET’S JUST CLARIFY -
HOW DO WE KNOW THAT A USER “LIKES” A PRODUCT?
Ans) THESE ARE PRODUCTS THE USER
              PURCHASED
              CLICKED ON
              ADDED TO CART
              RATED HIGHLY
(IF THE USER RATES SOMETHING LOW, THAT’S IMPORTANT DATA TOO!)
SOMETIMES, STORES ALSO ASK FOR EXPLICIT INPUT FROM USERS.

Comments

Popular posts from this blog

EVENT DRIVEN MICROSERVICES

EVENT BASED MICROSERVICES - Event Sourcing In a Microservice Architecture, especially with Database per Microservice, the Microservices need to exchange data. For resilient, highly scalable, and fault-tolerant systems, they should communicate asynchronously by exchanging Events. In such a case, you may want to have Atomic operations, e.g., update the Database and send the message. If you have SQL databases and want to have distributed transactions for a high volume of data, you cannot use the two-phase locking (2PL) as it does not scale. If you use NoSQL Databases and want to have a distributed transaction, you cannot use 2PL as many NoSQL databases do not support two-phase locking. In such scenarios, use Event based Architecture with Event Sourcing. In traditional databases, the Business Entity with the current “state” is directly stored. In Event Sourcing, any state-changing event or other significant events are stored instead of the entities. It means the modifications of a Busines...

KAFKA - Architecture

Kafka - Architecture What is Kafka? Kafka is an event-streaming platform that is designed to process high volumes of data in real-time. Developed by LinkedIn in 2011, it has quickly become the infrastructural backbone of companies like Netflix, Twitter, and Spotify. Why do we need Kafka? In today’s data-driven world, tracking information like user clicks, recommendations, and shopping carts can be invaluable for a company’s growth. With these analytics, companies can make the product improvements needed to boost user engagement and conversion rates. However, on sites with millions of daily users, collecting and analyzing this data is nontrivial. Kafka was des i gned to streamline this operation, acting as a robust tool that maintains efficient, real-time processing capabilities with incredible quantities of data. For instance, as of late 2019, LinkedIn’s Kafka deployments were managing more than 7 trillion messages per day. How does Kafka work? Kafka provides a structured architecture ...