SlideShare a Scribd company logo
Motivation
• Business: Selling products, movies, papers
• Research: Baseline for improvements.
• Personal uses:
• Recommend a song from your own music library
Input and Outputs
• Two relations: User and Products
• Input: User actions
• Buy
• View
• Rate
• Can there be any other actions?
• Output: Product suggestions
• Other users also viewed/bought/rated good.
• What are the best products for this user?
• Search engine analogy.
The Amazon Analogy
• Product independent.
• Product dependent.
Easyrec: Open Source Recommender Engine
• http://www.easyrec.org/
• Can be used in two ways:
• Download a copy and run in localhost.
• Use the easyrec server.
• Use the REST API to integrate with your site.
• API pros and cons:
• Don’t need to bother about computation power.
• Very easy for prototyping.
• Data privacy (if you are running on easyrec server).
• Not flexible enough for fine grained customization.
API: Getting Started
• Create an user account, get a token.
• Create a “tenant id”: url for your website/your home
computer/anything.
• “tenant-id” and token combined work as a primary key.
• Any call to the easyrec must contain these two parameters.
API: Input Your Data
• Input options:
• View: The user has viewed this item.
• Buy: The user has bought this item.
• Rate: The user has rated this item.
• You can also define your own “action”
• Sample API calls:
• http://easyrec.sourceforge.net/wiki/index.php?title=REST_API_v0.98
API: Get Recommendations
• Other users also viewed:
• Parameter: item id.
• Other users also bought:
• Parameter: item id.
• Items rated good by other users:
• Parameter: item id.
• Users who bought this item rated these items good.
• Recommendations for user:
• Parameter: user id.
API: Rules, Clustering and Community Ranking
• Rules:
• You can write your own rules which will associate two items (users who rated
item A high, also bought item B).
• Rules can not be written between an user and an item.
• Clustering:
• You can create clusters of items (laptop/books/songs)
• You can get all items in a cluster.
• Community ranking:
• Items liked by/bought by/ rated by most users.
Conclusion
• An open source recommender system which can be readily deployed
in a small e-commerce site.
• Not much flexible:
• You might want to recommend items in a cluster based on user history on
that cluster.
• You want to develop a separate ranking function.
• Only collaborative filtering: no content based recommendation.
• Real sites have used this: http://www.flimmit.com. (See a
recommendation here. )

More Related Content

Viewers also liked

Αρχιτεκτονικό σχέδιο
Αρχιτεκτονικό σχέδιοΑρχιτεκτονικό σχέδιο
Αρχιτεκτονικό σχέδιο
mariagian1992
 
Cobol, lisp, and python
Cobol, lisp, and pythonCobol, lisp, and python
Cobol, lisp, and python
Luis Goldster
 
Exception handling
Exception handlingException handling
Exception handling
James Wong
 
Ruby on rails evaluation
Ruby on rails evaluationRuby on rails evaluation
Ruby on rails evaluation
Luis Goldster
 
AWS ElasticBeansTalk
AWS ElasticBeansTalkAWS ElasticBeansTalk
AWS ElasticBeansTalk
Ismail JALLOULI
 
Mapa de riesgo
Mapa de riesgoMapa de riesgo
Mapa de riesgo
orsini07
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
Harry Potter
 
Estado del recurso suelo en Guatemala, prioridades y necesidades para su mane...
Estado del recurso suelo en Guatemala, prioridades y necesidades para su mane...Estado del recurso suelo en Guatemala, prioridades y necesidades para su mane...
Estado del recurso suelo en Guatemala, prioridades y necesidades para su mane...
FAO
 
Multithreading models.ppt
Multithreading models.pptMultithreading models.ppt
Multithreading models.ppt
Luis Goldster
 
Αναθέσεις Μαθημάτων ΕΠΑΛ - ΦΕΚ 1671 10-06-2016
Αναθέσεις Μαθημάτων ΕΠΑΛ - ΦΕΚ 1671 10-06-2016Αναθέσεις Μαθημάτων ΕΠΑΛ - ΦΕΚ 1671 10-06-2016
Αναθέσεις Μαθημάτων ΕΠΑΛ - ΦΕΚ 1671 10-06-2016
John Tzortzakis
 
Ψηφιακή Χαρτογραφία & Γεωπληροφορική - 2ο μέρος
Ψηφιακή Χαρτογραφία & Γεωπληροφορική - 2ο μέροςΨηφιακή Χαρτογραφία & Γεωπληροφορική - 2ο μέρος
Ψηφιακή Χαρτογραφία & Γεωπληροφορική - 2ο μέρος
John Tzortzakis
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
Tony Nguyen
 
Python language data types
Python language data typesPython language data types
Python language data types
Tony Nguyen
 
Classification of memory hierarchy in system unit
Classification of memory hierarchy in system unitClassification of memory hierarchy in system unit
Classification of memory hierarchy in system unit
Deepjyoti Talukdar
 
pipeline and vector processing
pipeline and vector processingpipeline and vector processing
pipeline and vector processing
Acad
 
Parallel computing
Parallel computingParallel computing
Parallel computing
Vinay Gupta
 
11 abstract data types
11 abstract data types11 abstract data types
11 abstract data typesjigeno
 

Viewers also liked (20)

Api crash
Api crashApi crash
Api crash
 
Cache recap
Cache recapCache recap
Cache recap
 
Αρχιτεκτονικό σχέδιο
Αρχιτεκτονικό σχέδιοΑρχιτεκτονικό σχέδιο
Αρχιτεκτονικό σχέδιο
 
Cache recap
Cache recapCache recap
Cache recap
 
Cobol, lisp, and python
Cobol, lisp, and pythonCobol, lisp, and python
Cobol, lisp, and python
 
Exception handling
Exception handlingException handling
Exception handling
 
Ruby on rails evaluation
Ruby on rails evaluationRuby on rails evaluation
Ruby on rails evaluation
 
AWS ElasticBeansTalk
AWS ElasticBeansTalkAWS ElasticBeansTalk
AWS ElasticBeansTalk
 
Mapa de riesgo
Mapa de riesgoMapa de riesgo
Mapa de riesgo
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
 
Estado del recurso suelo en Guatemala, prioridades y necesidades para su mane...
Estado del recurso suelo en Guatemala, prioridades y necesidades para su mane...Estado del recurso suelo en Guatemala, prioridades y necesidades para su mane...
Estado del recurso suelo en Guatemala, prioridades y necesidades para su mane...
 
Multithreading models.ppt
Multithreading models.pptMultithreading models.ppt
Multithreading models.ppt
 
Αναθέσεις Μαθημάτων ΕΠΑΛ - ΦΕΚ 1671 10-06-2016
Αναθέσεις Μαθημάτων ΕΠΑΛ - ΦΕΚ 1671 10-06-2016Αναθέσεις Μαθημάτων ΕΠΑΛ - ΦΕΚ 1671 10-06-2016
Αναθέσεις Μαθημάτων ΕΠΑΛ - ΦΕΚ 1671 10-06-2016
 
Ψηφιακή Χαρτογραφία & Γεωπληροφορική - 2ο μέρος
Ψηφιακή Χαρτογραφία & Γεωπληροφορική - 2ο μέροςΨηφιακή Χαρτογραφία & Γεωπληροφορική - 2ο μέρος
Ψηφιακή Χαρτογραφία & Γεωπληροφορική - 2ο μέρος
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Python language data types
Python language data typesPython language data types
Python language data types
 
Classification of memory hierarchy in system unit
Classification of memory hierarchy in system unitClassification of memory hierarchy in system unit
Classification of memory hierarchy in system unit
 
pipeline and vector processing
pipeline and vector processingpipeline and vector processing
pipeline and vector processing
 
Parallel computing
Parallel computingParallel computing
Parallel computing
 
11 abstract data types
11 abstract data types11 abstract data types
11 abstract data types
 

Similar to Rest api to integrate with your site

Hey My Web App is Slow Where is the Problem
Hey My Web App is Slow Where is the ProblemHey My Web App is Slow Where is the Problem
Hey My Web App is Slow Where is the Problem
ColdFusionConference
 
Hey! My website is slow where is the problem?
Hey! My website is slow where is the problem?Hey! My website is slow where is the problem?
Hey! My website is slow where is the problem?
devObjective
 
Hey my web app is slow where is the problem
Hey my web app is slow where is the problemHey my web app is slow where is the problem
Hey my web app is slow where is the problem
ColdFusionConference
 
Riding the Edge with Ember.js
Riding the Edge with Ember.jsRiding the Edge with Ember.js
Riding the Edge with Ember.js
aortbals
 
Introduction to Open Source, Apache and Apache Way
Introduction to Open Source, Apache and Apache WayIntroduction to Open Source, Apache and Apache Way
Introduction to Open Source, Apache and Apache Way
Srinath Perera
 
Software design with Domain-driven design
Software design with Domain-driven design Software design with Domain-driven design
Software design with Domain-driven design
Allan Mangune
 
GDD Moscow - Open Social
GDD Moscow - Open SocialGDD Moscow - Open Social
GDD Moscow - Open Social
Chris Chabot
 
Golden Rules of API Design
Golden Rules of API DesignGolden Rules of API Design
Golden Rules of API Design
David Koelle
 
Guide to open source
Guide to open source Guide to open source
Guide to open source
Javier Perez
 
Lipstick on a Pig: Integrated Library Systems
Lipstick on a Pig: Integrated Library SystemsLipstick on a Pig: Integrated Library Systems
Lipstick on a Pig: Integrated Library Systems
Dorothea Salo
 
Techorama 2022 - Adventures of building Promitor, an open-source product
Techorama 2022 - Adventures of building Promitor, an open-source productTechorama 2022 - Adventures of building Promitor, an open-source product
Techorama 2022 - Adventures of building Promitor, an open-source product
Tom Kerkhove
 
Designing recommender system for your application
Designing  recommender system for  your applicationDesigning  recommender system for  your application
Designing recommender system for your application
孜羲 顏
 
The Apache Way
The Apache WayThe Apache Way
The Apache Way
Evans Ye
 
Prototyping like it is 2022
Prototyping like it is 2022 Prototyping like it is 2022
Prototyping like it is 2022
Michael Yagudaev
 
Beta testing iPhone apps
Beta testing iPhone appsBeta testing iPhone apps
Beta testing iPhone apps
Shawn Grimes
 
WP101 - Themes and Plugins
WP101 - Themes and PluginsWP101 - Themes and Plugins
WP101 - Themes and Plugins
Joe Querin
 
CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010
Joel Gascoigne
 
How Appboy’s Marketing Automation for Apps Platform Grew 40x on the ObjectRoc...
How Appboy’s Marketing Automation for Apps Platform Grew 40x on the ObjectRoc...How Appboy’s Marketing Automation for Apps Platform Grew 40x on the ObjectRoc...
How Appboy’s Marketing Automation for Apps Platform Grew 40x on the ObjectRoc...MongoDB
 

Similar to Rest api to integrate with your site (20)

EnterpriseSearch
EnterpriseSearchEnterpriseSearch
EnterpriseSearch
 
Hey My Web App is Slow Where is the Problem
Hey My Web App is Slow Where is the ProblemHey My Web App is Slow Where is the Problem
Hey My Web App is Slow Where is the Problem
 
Hey! My website is slow where is the problem?
Hey! My website is slow where is the problem?Hey! My website is slow where is the problem?
Hey! My website is slow where is the problem?
 
Hey my web app is slow where is the problem
Hey my web app is slow where is the problemHey my web app is slow where is the problem
Hey my web app is slow where is the problem
 
Riding the Edge with Ember.js
Riding the Edge with Ember.jsRiding the Edge with Ember.js
Riding the Edge with Ember.js
 
Introduction to Open Source, Apache and Apache Way
Introduction to Open Source, Apache and Apache WayIntroduction to Open Source, Apache and Apache Way
Introduction to Open Source, Apache and Apache Way
 
Software design with Domain-driven design
Software design with Domain-driven design Software design with Domain-driven design
Software design with Domain-driven design
 
GDD Moscow - Open Social
GDD Moscow - Open SocialGDD Moscow - Open Social
GDD Moscow - Open Social
 
Golden Rules of API Design
Golden Rules of API DesignGolden Rules of API Design
Golden Rules of API Design
 
Guide to open source
Guide to open source Guide to open source
Guide to open source
 
Lipstick on a Pig: Integrated Library Systems
Lipstick on a Pig: Integrated Library SystemsLipstick on a Pig: Integrated Library Systems
Lipstick on a Pig: Integrated Library Systems
 
Techorama 2022 - Adventures of building Promitor, an open-source product
Techorama 2022 - Adventures of building Promitor, an open-source productTechorama 2022 - Adventures of building Promitor, an open-source product
Techorama 2022 - Adventures of building Promitor, an open-source product
 
166 sspcc1 b_newman
166 sspcc1 b_newman166 sspcc1 b_newman
166 sspcc1 b_newman
 
Designing recommender system for your application
Designing  recommender system for  your applicationDesigning  recommender system for  your application
Designing recommender system for your application
 
The Apache Way
The Apache WayThe Apache Way
The Apache Way
 
Prototyping like it is 2022
Prototyping like it is 2022 Prototyping like it is 2022
Prototyping like it is 2022
 
Beta testing iPhone apps
Beta testing iPhone appsBeta testing iPhone apps
Beta testing iPhone apps
 
WP101 - Themes and Plugins
WP101 - Themes and PluginsWP101 - Themes and Plugins
WP101 - Themes and Plugins
 
CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010
 
How Appboy’s Marketing Automation for Apps Platform Grew 40x on the ObjectRoc...
How Appboy’s Marketing Automation for Apps Platform Grew 40x on the ObjectRoc...How Appboy’s Marketing Automation for Apps Platform Grew 40x on the ObjectRoc...
How Appboy’s Marketing Automation for Apps Platform Grew 40x on the ObjectRoc...
 

More from Tony Nguyen

Directory based cache coherence
Directory based cache coherenceDirectory based cache coherence
Directory based cache coherence
Tony Nguyen
 
Business analytics and data mining
Business analytics and data miningBusiness analytics and data mining
Business analytics and data mining
Tony Nguyen
 
Big picture of data mining
Big picture of data miningBig picture of data mining
Big picture of data mining
Tony Nguyen
 
Data mining and knowledge discovery
Data mining and knowledge discoveryData mining and knowledge discovery
Data mining and knowledge discovery
Tony Nguyen
 
How analysis services caching works
How analysis services caching worksHow analysis services caching works
How analysis services caching works
Tony Nguyen
 
Hardware managed cache
Hardware managed cacheHardware managed cache
Hardware managed cache
Tony Nguyen
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
Tony Nguyen
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
Tony Nguyen
 
Abstract class
Abstract classAbstract class
Abstract class
Tony Nguyen
 
Abstraction file
Abstraction fileAbstraction file
Abstraction file
Tony Nguyen
 
Concurrency with java
Concurrency with javaConcurrency with java
Concurrency with java
Tony Nguyen
 
Data structures and algorithms
Data structures and algorithmsData structures and algorithms
Data structures and algorithms
Tony Nguyen
 
Object oriented programming-with_java
Object oriented programming-with_javaObject oriented programming-with_java
Object oriented programming-with_java
Tony Nguyen
 
Cobol, lisp, and python
Cobol, lisp, and pythonCobol, lisp, and python
Cobol, lisp, and python
Tony Nguyen
 
Extending burp with python
Extending burp with pythonExtending burp with python
Extending burp with python
Tony Nguyen
 
Learning python
Learning pythonLearning python
Learning python
Tony Nguyen
 

More from Tony Nguyen (20)

Directory based cache coherence
Directory based cache coherenceDirectory based cache coherence
Directory based cache coherence
 
Business analytics and data mining
Business analytics and data miningBusiness analytics and data mining
Business analytics and data mining
 
Big picture of data mining
Big picture of data miningBig picture of data mining
Big picture of data mining
 
Data mining and knowledge discovery
Data mining and knowledge discoveryData mining and knowledge discovery
Data mining and knowledge discovery
 
Cache recap
Cache recapCache recap
Cache recap
 
How analysis services caching works
How analysis services caching worksHow analysis services caching works
How analysis services caching works
 
Hardware managed cache
Hardware managed cacheHardware managed cache
Hardware managed cache
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
 
Abstract class
Abstract classAbstract class
Abstract class
 
Abstraction file
Abstraction fileAbstraction file
Abstraction file
 
Object model
Object modelObject model
Object model
 
Concurrency with java
Concurrency with javaConcurrency with java
Concurrency with java
 
Data structures and algorithms
Data structures and algorithmsData structures and algorithms
Data structures and algorithms
 
Inheritance
InheritanceInheritance
Inheritance
 
Object oriented programming-with_java
Object oriented programming-with_javaObject oriented programming-with_java
Object oriented programming-with_java
 
Cobol, lisp, and python
Cobol, lisp, and pythonCobol, lisp, and python
Cobol, lisp, and python
 
Extending burp with python
Extending burp with pythonExtending burp with python
Extending burp with python
 
Api crash
Api crashApi crash
Api crash
 
Learning python
Learning pythonLearning python
Learning python
 

Recently uploaded

Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

Rest api to integrate with your site

  • 1. Motivation • Business: Selling products, movies, papers • Research: Baseline for improvements. • Personal uses: • Recommend a song from your own music library
  • 2. Input and Outputs • Two relations: User and Products • Input: User actions • Buy • View • Rate • Can there be any other actions? • Output: Product suggestions • Other users also viewed/bought/rated good. • What are the best products for this user? • Search engine analogy.
  • 3. The Amazon Analogy • Product independent. • Product dependent.
  • 4. Easyrec: Open Source Recommender Engine • http://www.easyrec.org/ • Can be used in two ways: • Download a copy and run in localhost. • Use the easyrec server. • Use the REST API to integrate with your site. • API pros and cons: • Don’t need to bother about computation power. • Very easy for prototyping. • Data privacy (if you are running on easyrec server). • Not flexible enough for fine grained customization.
  • 5. API: Getting Started • Create an user account, get a token. • Create a “tenant id”: url for your website/your home computer/anything. • “tenant-id” and token combined work as a primary key. • Any call to the easyrec must contain these two parameters.
  • 6. API: Input Your Data • Input options: • View: The user has viewed this item. • Buy: The user has bought this item. • Rate: The user has rated this item. • You can also define your own “action” • Sample API calls: • http://easyrec.sourceforge.net/wiki/index.php?title=REST_API_v0.98
  • 7. API: Get Recommendations • Other users also viewed: • Parameter: item id. • Other users also bought: • Parameter: item id. • Items rated good by other users: • Parameter: item id. • Users who bought this item rated these items good. • Recommendations for user: • Parameter: user id.
  • 8. API: Rules, Clustering and Community Ranking • Rules: • You can write your own rules which will associate two items (users who rated item A high, also bought item B). • Rules can not be written between an user and an item. • Clustering: • You can create clusters of items (laptop/books/songs) • You can get all items in a cluster. • Community ranking: • Items liked by/bought by/ rated by most users.
  • 9. Conclusion • An open source recommender system which can be readily deployed in a small e-commerce site. • Not much flexible: • You might want to recommend items in a cluster based on user history on that cluster. • You want to develop a separate ranking function. • Only collaborative filtering: no content based recommendation. • Real sites have used this: http://www.flimmit.com. (See a recommendation here. )