SlideShare a Scribd company logo
1 of 42
Download to read offline
從電影推薦預測開始學機器學習
Mia Chang
http://mvc.tw
About me
2
▪ Algorithm Research
▪ Machine Learning / Deep LearningData Scientist
Community
▪ twMVC
▪ Core Staff R-Ladies
▪ Co-Founder Azure Taiwan Community
▪ Co-Founder Tech Podcast Night
Contribute ▪ 2017 Data Platform MVP
▪ MVP Award Blog Technical Committee
▪ Workshop / Hackathon Mentor
http://mvc.tw
About me
3
簡單介紹推薦系統
Recap, 複習
操作示範 [實驗、API]
4
簡單介紹推薦系統
http://mvc.tw
關於推薦系統 Amazon
5
ref: Amazon 截圖
http://mvc.tw
關於推薦系統 PChome
6
ref: PChome 截圖
http://mvc.tw
關於推薦系統 YouTube
7
ref: YouTube 截圖
http://mvc.tw
關於推薦系統 Spotify
8
ref: Spotify 截圖
http://mvc.tw
什麼時候適合建立推薦系統
9
ref: https://www.slideshare.net/shopieasy
http://mvc.tw
■ 站在商家的立場
■ 宣傳新品,增加曝光
■ 透過推薦拉長顧客停留時間
■ 站在顧客的立場
■ 在太多商品的情境下找到相似的物件
■ 在太多商品的情境下找到適合我的物件
什麼時候適合建立推薦系統
10
http://mvc.tw
推薦系統的起源:尿布與啤酒?
11
ref: 啤酒尿布是都市傳說
http://mvc.tw
推薦系統的起源:尿布與啤酒?
12
ref: 啤酒尿布是都市傳說
13
定義分析問題
http://mvc.tw
■ 我們想要解決____的問題。
■ 透過手上的____資料。
■ 我們想要產生一個____的模型。
問題介紹
14
http://mvc.tw
■ 我們想要解決__商品無法被相對應使用者看見__問題。
■ 透過手上的__使用者行為__資料。
■ 我們想要產生一個__推薦系統__的模型。
問題介紹
15
http://mvc.tw
有了要解決的問題
接下來思考...
什麼是machine learning?
一個問題是如何被描述的?
16
http://mvc.tw 17
什麼是machine learning?
ref: https://www.youtube.com/watch?v=cKxRvEZd3Mw
http://mvc.tw 18
Feature
http://mvc.tw 19
什麼是machine learning?
ref: https://www.youtube.com/watch?v=cKxRvEZd3Mw
http://mvc.tw
■ Analysis from MovieTweetings
225,000 ratings for
15,742 movies
by 26,770 users
資料集
20
ref: Paper MovieTweetings , pic: edit from here
21
Demo
http://mvc.tw
Azure Machine Learning Studio
22
https://studio.azureml.net/
http://mvc.tw
Experience Workflow
23
http://mvc.tw
Checkpoint 01 - Viz Your Data
24
http://mvc.tw
Checkpoint 01 - Viz Your Data
25
http://mvc.tw
Checkpoint 02 - Clean Your Data
26
http://mvc.tw
Checkpoint 02 - Clean Your Data
27
Split Rows
> 一般分開資料的方法,預設是 50-50。
Recommender Split
> 推薦系統時會搭配的分資料方式,
確認user-item pairs 或是ratings 是被均勻分開的。
Regular Expression
> 文本情緒分析時使用
Relative Expression
> 使用時間, 年紀, 金額, 或百分比當作是分開資料的依據時,
就可以選用這個方式
http://mvc.tw
Checkpoint 03 - Training Model
28
http://mvc.tw
Checkpoint 03 - Training Model
29
選擇想要Score的方式
Predict ratings for a given user and item
Recommend items to a given user
Find users related to a given user
Find items related to a given item
依據不同方式放進input
輸出的結果(Visualize)
http://mvc.tw
Checkpoint 04 - Evaluate & Publish
30
http://mvc.tw
Checkpoint 04 - Evaluate & Publish
31
32
Q&A
http://mvc.tw
對了,前面提到的都市傳說呢?
33
ref: 啤酒尿布是都市傳說
http://mvc.tw
>> 是洗手乳
34
ref: 啤酒尿布是都市傳說
http://mvc.tw
Further Reading
35
ref: What the Million-Dollar Netflix Prize Taught Me About Marketing
http://mvc.tw
■ 實驗
AzureML Recommender: Movie recommendation
■ 演算法論文
MS Research Matchbox: Large Scale Bayesian Recommendations
■ 推薦系統背景知識
MS Technet Recommendations Everywhere
Read More
36
Contact
37
facebook.com/mia5419
twMVC R-Ladies
Azure Taiwan Tech Podcast
Night
http://mvc.tw
Blog 是記錄知識的最佳平台
38
http://mvc.tw
感謝 Jetbrains 贊助贈品
39
https://www.jetbrains.com/resharper/
http://mvc.tw
感謝 OzCode 贊助贈品
40
http://www.oz-code.com/
http://mvc.tw
業界師資、實戰教學
41
http://skilltree.my
謝謝各位
• 本投影片所包含的商標與文字皆屬原著作者所有。
• 本投影片使用的圖片皆從網路搜尋。
• 本著作係採用姓名標示 -非商業性-相同方式分享 3.0 台灣授權。閱讀本授權條款,請到
http://creativecommons.org/licenses/by-nc-sa/3.0/tw/,或寫信至Creative Commons, 444 Castro Street,
Suite 900, Mountain View, California, 94041, USA.
http://mvc.tw

More Related Content

Similar to twMVC#29 -Learning Machine Learning with Movie Recommendation

现代化敏捷测试工作者
现代化敏捷测试工作者现代化敏捷测试工作者
现代化敏捷测试工作者
Yi Xu
 

Similar to twMVC#29 -Learning Machine Learning with Movie Recommendation (20)

用Octopus deploy做自動部署 - 快速上手
用Octopus deploy做自動部署 - 快速上手用Octopus deploy做自動部署 - 快速上手
用Octopus deploy做自動部署 - 快速上手
 
twMVC#33聊聊如何自建 Facebook {廣告} 服務 with API
twMVC#33聊聊如何自建 Facebook {廣告} 服務 with API twMVC#33聊聊如何自建 Facebook {廣告} 服務 with API
twMVC#33聊聊如何自建 Facebook {廣告} 服務 with API
 
ASP.NET MVC 善用網路資源快速完打造網站
ASP.NET MVC 善用網路資源快速完打造網站ASP.NET MVC 善用網路資源快速完打造網站
ASP.NET MVC 善用網路資源快速完打造網站
 
twMVC#42 讓我們用一種方式來開發吧
twMVC#42 讓我們用一種方式來開發吧twMVC#42 讓我們用一種方式來開發吧
twMVC#42 讓我們用一種方式來開發吧
 
DevOPS
DevOPSDevOPS
DevOPS
 
開發的效能與效率-twMVC#15
開發的效能與效率-twMVC#15開發的效能與效率-twMVC#15
開發的效能與效率-twMVC#15
 
twMVC#15 | 開發的效能與效率
twMVC#15 | 開發的效能與效率twMVC#15 | 開發的效能與效率
twMVC#15 | 開發的效能與效率
 
[PHPConf Taiwan 2015] 跟著 Laravel 5.1 一起成為更好的 PHP 開發者
[PHPConf Taiwan 2015] 跟著 Laravel 5.1 一起成為更好的 PHP 開發者[PHPConf Taiwan 2015] 跟著 Laravel 5.1 一起成為更好的 PHP 開發者
[PHPConf Taiwan 2015] 跟著 Laravel 5.1 一起成為更好的 PHP 開發者
 
為瞬間巨量做好準備 20180726
為瞬間巨量做好準備 20180726為瞬間巨量做好準備 20180726
為瞬間巨量做好準備 20180726
 
HPX_HP25_專案管理:如何言之有物
HPX_HP25_專案管理:如何言之有物HPX_HP25_專案管理:如何言之有物
HPX_HP25_專案管理:如何言之有物
 
一個微信專案從0到000的效能調教
一個微信專案從0到000的效能調教一個微信專案從0到000的效能調教
一個微信專案從0到000的效能調教
 
现代化敏捷测试工作者
现代化敏捷测试工作者现代化敏捷测试工作者
现代化敏捷测试工作者
 
Data Pipeline Matters
Data Pipeline MattersData Pipeline Matters
Data Pipeline Matters
 
twMVC#32應用 ASP.NET WebAPI2 Odata 建置高互動性 APIS
twMVC#32應用 ASP.NET WebAPI2 Odata 建置高互動性 APIStwMVC#32應用 ASP.NET WebAPI2 Odata 建置高互動性 APIS
twMVC#32應用 ASP.NET WebAPI2 Odata 建置高互動性 APIS
 
Microsoft Learn AI 挑戰賽-實戰三 MLOps | Alan Tsai
Microsoft Learn AI 挑戰賽-實戰三 MLOps | Alan TsaiMicrosoft Learn AI 挑戰賽-實戰三 MLOps | Alan Tsai
Microsoft Learn AI 挑戰賽-實戰三 MLOps | Alan Tsai
 
聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevices聊天機器人概論 Introduce to chat bot sevices
聊天機器人概論 Introduce to chat bot sevices
 
Camtasia Studio 7.1 Training
Camtasia Studio 7.1 TrainingCamtasia Studio 7.1 Training
Camtasia Studio 7.1 Training
 
淺入淺出 MySQL & PostgreSQL
淺入淺出 MySQL & PostgreSQL淺入淺出 MySQL & PostgreSQL
淺入淺出 MySQL & PostgreSQL
 
20150312
2015031220150312
20150312
 
重新想像:如何做技術選型決策 / Rethinking : Technical Decision
重新想像:如何做技術選型決策 / Rethinking : Technical Decision重新想像:如何做技術選型決策 / Rethinking : Technical Decision
重新想像:如何做技術選型決策 / Rethinking : Technical Decision
 

More from Mia Chang

Running the first automatic speech recognition (ASR) model with HuggingFace -...
Running the first automatic speech recognition (ASR) model with HuggingFace -...Running the first automatic speech recognition (ASR) model with HuggingFace -...
Running the first automatic speech recognition (ASR) model with HuggingFace -...
Mia Chang
 

More from Mia Chang (10)

Running the first automatic speech recognition (ASR) model with HuggingFace -...
Running the first automatic speech recognition (ASR) model with HuggingFace -...Running the first automatic speech recognition (ASR) model with HuggingFace -...
Running the first automatic speech recognition (ASR) model with HuggingFace -...
 
7 steps to AI production - global azure bootcamp 2020 Koln
7 steps to AI production - global azure bootcamp 2020 Koln7 steps to AI production - global azure bootcamp 2020 Koln
7 steps to AI production - global azure bootcamp 2020 Koln
 
TensorFlow Lite for mobile & IoT
TensorFlow Lite for mobile & IoT   TensorFlow Lite for mobile & IoT
TensorFlow Lite for mobile & IoT
 
DPS2019 data scientist in the real estate industry
DPS2019 data scientist in the real estate industry DPS2019 data scientist in the real estate industry
DPS2019 data scientist in the real estate industry
 
Leverage the power of machine learning on windows
Leverage the power of machine learning on windowsLeverage the power of machine learning on windows
Leverage the power of machine learning on windows
 
Develop computer vision applications with azure computer vision api
Develop computer vision applications with azure computer vision apiDevelop computer vision applications with azure computer vision api
Develop computer vision applications with azure computer vision api
 
The Art of Unit Testing Ch5-6
The Art of Unit Testing Ch5-6The Art of Unit Testing Ch5-6
The Art of Unit Testing Ch5-6
 
Deploy Deep Learning Application with Azure Container Instance - Devdays2018
Deploy Deep Learning Application with Azure Container Instance - Devdays2018Deploy Deep Learning Application with Azure Container Instance - Devdays2018
Deploy Deep Learning Application with Azure Container Instance - Devdays2018
 
What's AI, Machine Learning and Deep Learning - Talk @NCCU python 讀書會
What's AI, Machine Learning and Deep Learning - Talk @NCCU python 讀書會What's AI, Machine Learning and Deep Learning - Talk @NCCU python 讀書會
What's AI, Machine Learning and Deep Learning - Talk @NCCU python 讀書會
 
Play Kaggle with R, Facebook V: Predicting Check Ins
Play Kaggle with R, Facebook V: Predicting Check InsPlay Kaggle with R, Facebook V: Predicting Check Ins
Play Kaggle with R, Facebook V: Predicting Check Ins
 

twMVC#29 -Learning Machine Learning with Movie Recommendation