Microsoft Cognitive Services - Recommendations API: Your first recommendations model
-
Upload
bruno-paulino -
Category
Data & Analytics
-
view
192 -
download
0
Transcript of Microsoft Cognitive Services - Recommendations API: Your first recommendations model
Microsoft Cognitive Services – Recommendations API:Your First Recommendations Model
XXIV EVENTO PORTO.DATA – OUTUBRO 2016
Bruno PaulinoBusiness Intelligence Consultant
Bruno PaulinoBusiness Intelligence ConsultantIBM | Microsoft Certified Professional3+ years’ experience in BI
Brazilian | Italian | Almost Portuguese
Email: [email protected]: http://pt.linkedin.com/in/brunopaulino
Academic ExperienceBusiness Intelligence Short MasterPortucalense Universtity, Portugal, 2011
Master’s degree in Information ManagementFaculty of Engineering - University of Porto (FEUP), Portugal, 2008
Bachelor’s degree in Information ScienceLondrina State University (UEL), Brazil, 2003
Relevant ExperienceBI4ALL Consultores de Gestão | 2013 – To date
Past Projects:
Metlife IberiaJohnson & JohnsonECS CapitalSalvador Caetano
Current Project:
MapfreSapecServierMCoutinho
OCP Portugal
Getting Started
What’s Cognitive Services API
How to enable Cognitive Services on Azure account
Discovering the Recommendations API
Using Recommendations API with SSIS
Showing recommendations results in PowerBI
Intelligent solutions able to see, hear, speak, understand and interpret our needs using natural methods of communication.
https://www.microsoft.com/cognitive-services
Vison LanguageSpeech Knowledge Search
Microsoft Cognitive Services APIs
Computer Vision
Emotion
Face
Video
Custom Recognition
Intelligent Service
Bing Speech
Speaker Recognition
Bing Spell Check
Language Understanding
Intelligent Service
Linguistic Analysis
Text Analytics
Web Language Model
Academic Knowledge
Entity Linking Intelligence
Service
Knowledge Exploration
Service
Recommendations
Bing Autosuggest
Bing Image Search
Bing News Search
Bing Video Search
Bing Web Search
Microsoft Cognitive Services APIs Applications
Online store boosts conversion rate with quick-deploy recommendations technology
Uber is using driver selfies to enhance security
Cognitive video indexing platform that processes videos that you upload and creates an index of the content within the video
Wearable technology helping people who are visually impaired “see” the world
https://portal.azure.com
Microsoft Azure
https://azure.microsoft.com/Create a free Azure account
Sign in to your account
Microsoft Azure Enable Cognitive Services APIs on Azure account
New Intelligence + analytics Cognitive Services APIs (pré-visualização) API Type: Recommendations API Pricing tier: F0 Free
Note: copy and save the Key 1, it will be used in all API processes.
Frequently Bought Togetherrecommendations (FBT)
Item to itemrecommendations (I2I)
Personalized userrecommendations (U2I)
Introducing
Steps to Create a Model
Create/Trigger aRecommendations Build
Upload Usage File
Upload Catalog File
Create a Project: Define the Model Name
Catalog File Format
<Item Id>,<Item Name>,<Item Category>,[<Description>],<Features list>
Example without featuresAAA04294,Office Language Pack Online DwnLd,OfficeAAA04303,Minecraft Download Game,GamesC9F00168,Kiruna Flip Cover,Accessories
Example with featuresAAA04294,Office Language Pack Online DwnLd,Office,, softwaretype=productivity, compatibility=WindowsBAB04303,Minecraft DwnLd,Games,, softwaretype=gaming, compatibility=iOS, agegroup=allC9F00168,Kiruna Flip Cover,Accessories,, compatibility=lumia, hardwaretype=mobile
Usage File Format
<User Id>,<Item Id>,<Time>,[<Event type>]
Example
168064,6485200,2013/06/20T10:00:00, Purchase 263325,6485200,2013/06/20T10:00:00, Purchase 190485,6485200,2013/06/20T10:00:00, Click 225087,6485936,2013/06/20T10:00:00, Purchase
Event type
Click RecommendationClick AddShopCart RemoveShopCart Purchase
Let’s Create a Modelhttps://www.microsoft.com/cognitive-services/en-us/recommendations-api
API SDK and SQL Server Integration Service (SSIS)
When using C# classes from the API SDK in a SSIS Script Component, you have to add the following references: Newtonsoft.Json System.Net.Http System.Runtime.Serialization System.Net.Http.Formating
Note: you need to install the Newtonsoft.Jason reference into the Global Assembly Cache (GAC) using gacutil.exe.
https://msdn.microsoft.com/en-us/library/dkkx7f79(v=vs.110).aspx
Showing Recommendations Results in PowerBI
Obrigado!
Bruno [email protected]