SlideShare a Scribd company logo
1 of 28
Music Recommender Systems 超群 .com [email_address] http://www.fuchaoqun.com 2009.11.22  Beta 技术沙龙 官方 twitter : @betasalon 官方网站: http://club.blogbeta.com 邮件组: http://groups.google.com/group/betasalon?hl=zh-CN
Music Recommender Systems 超群 .com [email_address] http:// www.fuchaoqun.com
Who is Using Recommender Systems?
Recommender Systems ,[object Object],[object Object],[object Object],[object Object]
Algorithms ,[object Object],[object Object],[object Object],[object Object]
Algorithms ,[object Object],[object Object],[object Object],[object Object]
Association Rules TID Items 1 Bread 、 Milk 2 Bread 、 Diaper 、 Beer 、 Egg 3 Diaper 、 Beer 、 Cola 4 Bread 、 Milk 、 Diaper 、 Beer 5 Bread 、 Milk 、 Diaper 、 Cola Items Times Beer 、 Diaper 3 Bread 、 Milk 3 Beer 、 Bread 2 Diaper 、 Milk 2 Beer 、 Milk 1
Association Rules ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Algorithms ,[object Object],[object Object],[object Object],[object Object]
Slope One User That is it Straight Through My Heart Jim 4 5 Mike 2 4 Fred 3 ?
Slope One ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Algorithms ,[object Object],[object Object],[object Object],[object Object]
Similarity Similarity :
SVD Image copy from  Here
SVD In Image Compression Original K=10 K=20
Process SVD ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Demo from  Here Which two people have the most similar tastes? Which two season are the most close?
Demo
Demo
SVD ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MAGIC DIVISI ! #!/usr/bin/env python #coding=utf-8 import divisi from divisi.cnet import * data = divisi.SparseLabeledTensor(ndim = 2) # read some rating into data # data[user_id, song_id] = 4 svd_result = data.svd(k = 128) # get songs that the user may like # predict_features(svd_result, user_id).top_items(100) # get similar songs # feature_similarity(svd_result, song_id).top_items(100) # get users that have similar tastes # concept_similarity(svd_result, user_id).top_items(100)
Music Recommender Systems ,[object Object],[object Object],[object Object],[object Object],[object Object]
Data collection ,[object Object],[object Object],[object Object],[object Object],[object Object]
Data Cleaning ,[object Object],[object Object],[object Object],[object Object],[object Object],UserId SongId Times 3306 3654 200 3306 6950 236 3306 6528 268 3306 5874 3306 9527 foo 3306 5624 1000000 3306 9635 5 3306 6950 236 … . … . … .
Data Preprocessing UserId SongId Times 3306 3654 200 3306 6950 236 3306 6528 268 3306 5874 325 3306 9527 126 3306 5624 98 3306 9635 115 3306 6962 210 … . … . … . UserId SongId Weight 3306 3654 0.62 3306 6950 0.73 3306 6528 0.82 3306 5874 1 3306 9527 0.39 3306 5624 0.30 3306 9635 0.35 3306 6962 0.65 … . … . … .
Data Mining UserId SongId Weight 3306 3654 0.62 3306 6950 0.73 3306 6528 0.82 3306 5874 1 3306 9527 0.39 3306 5624 0.30 3306 9635 0.35 3306 6962 0.65 … . … . … . UserId Similary Users’ Id … . … . SongId Similary Songs’ Id … . … .
Tracking & Optimization ,[object Object],[object Object],[object Object],[object Object],[object Object]
That's it, Thanks. Q&A

More Related Content

Similar to Music Recommender Systems

Music Recommender Systems
Music Recommender SystemsMusic Recommender Systems
Music Recommender Systemsfuchaoqun
 
Hierarchical free monads and software design in fp
Hierarchical free monads and software design in fpHierarchical free monads and software design in fp
Hierarchical free monads and software design in fpAlexander Granin
 
Applying your Convolutional Neural Networks
Applying your Convolutional Neural NetworksApplying your Convolutional Neural Networks
Applying your Convolutional Neural NetworksDatabricks
 
Code dive 2019 kamil witecki - should i care about cpu cache
Code dive 2019   kamil witecki - should i care about cpu cacheCode dive 2019   kamil witecki - should i care about cpu cache
Code dive 2019 kamil witecki - should i care about cpu cacheKamil Witecki
 
Cloudera Movies Data Science Project On Big Data
Cloudera Movies Data Science Project On Big DataCloudera Movies Data Science Project On Big Data
Cloudera Movies Data Science Project On Big DataAbhishek M Shivalingaiah
 
Building a Versatile Analytics Pipeline on Top of Apache Spark with Mikhail C...
Building a Versatile Analytics Pipeline on Top of Apache Spark with Mikhail C...Building a Versatile Analytics Pipeline on Top of Apache Spark with Mikhail C...
Building a Versatile Analytics Pipeline on Top of Apache Spark with Mikhail C...Databricks
 
String Comparison Surprises: Did Postgres lose my data?
String Comparison Surprises: Did Postgres lose my data?String Comparison Surprises: Did Postgres lose my data?
String Comparison Surprises: Did Postgres lose my data?Jeremy Schneider
 
Paris data-geeks-2013-03-28
Paris data-geeks-2013-03-28Paris data-geeks-2013-03-28
Paris data-geeks-2013-03-28Ted Dunning
 
Recent advances in deep recommender systems
Recent advances in deep recommender systemsRecent advances in deep recommender systems
Recent advances in deep recommender systemsNAVER Engineering
 
Design Verification Using SystemC
Design Verification Using SystemCDesign Verification Using SystemC
Design Verification Using SystemCDVClub
 
Life Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Life Cycle of Metrics, Alerting, and Performance Monitoring in MicroservicesLife Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Life Cycle of Metrics, Alerting, and Performance Monitoring in MicroservicesSean Chittenden
 
Open Source SQL databases enter millions queries per second era
Open Source SQL databases enter millions queries per second eraOpen Source SQL databases enter millions queries per second era
Open Source SQL databases enter millions queries per second eraAlexander Korotkov
 
Managing your Black Friday Logs NDC Oslo
Managing your  Black Friday Logs NDC OsloManaging your  Black Friday Logs NDC Oslo
Managing your Black Friday Logs NDC OsloDavid Pilato
 
Managing your black friday logs - Code Europe
Managing your black friday logs - Code EuropeManaging your black friday logs - Code Europe
Managing your black friday logs - Code EuropeDavid Pilato
 
Apache Spark Data intensive processing in practice
Apache Spark Data intensive processing in practice Apache Spark Data intensive processing in practice
Apache Spark Data intensive processing in practice Marcin Szymaniuk
 
Building a Cross Channel Content Delivery Platform with MongoDB
Building a Cross Channel Content Delivery Platform with MongoDBBuilding a Cross Channel Content Delivery Platform with MongoDB
Building a Cross Channel Content Delivery Platform with MongoDBMongoDB
 
Data oriented design and c++
Data oriented design and c++Data oriented design and c++
Data oriented design and c++Mike Acton
 

Similar to Music Recommender Systems (20)

Music Recommender Systems
Music Recommender SystemsMusic Recommender Systems
Music Recommender Systems
 
Matrix Factorization
Matrix FactorizationMatrix Factorization
Matrix Factorization
 
SOLID Ruby SOLID Rails
SOLID Ruby SOLID RailsSOLID Ruby SOLID Rails
SOLID Ruby SOLID Rails
 
Hierarchical free monads and software design in fp
Hierarchical free monads and software design in fpHierarchical free monads and software design in fp
Hierarchical free monads and software design in fp
 
Applying your Convolutional Neural Networks
Applying your Convolutional Neural NetworksApplying your Convolutional Neural Networks
Applying your Convolutional Neural Networks
 
Code dive 2019 kamil witecki - should i care about cpu cache
Code dive 2019   kamil witecki - should i care about cpu cacheCode dive 2019   kamil witecki - should i care about cpu cache
Code dive 2019 kamil witecki - should i care about cpu cache
 
Cloudera Movies Data Science Project On Big Data
Cloudera Movies Data Science Project On Big DataCloudera Movies Data Science Project On Big Data
Cloudera Movies Data Science Project On Big Data
 
Building a Versatile Analytics Pipeline on Top of Apache Spark with Mikhail C...
Building a Versatile Analytics Pipeline on Top of Apache Spark with Mikhail C...Building a Versatile Analytics Pipeline on Top of Apache Spark with Mikhail C...
Building a Versatile Analytics Pipeline on Top of Apache Spark with Mikhail C...
 
String Comparison Surprises: Did Postgres lose my data?
String Comparison Surprises: Did Postgres lose my data?String Comparison Surprises: Did Postgres lose my data?
String Comparison Surprises: Did Postgres lose my data?
 
Paris data-geeks-2013-03-28
Paris data-geeks-2013-03-28Paris data-geeks-2013-03-28
Paris data-geeks-2013-03-28
 
Recent advances in deep recommender systems
Recent advances in deep recommender systemsRecent advances in deep recommender systems
Recent advances in deep recommender systems
 
Design Verification Using SystemC
Design Verification Using SystemCDesign Verification Using SystemC
Design Verification Using SystemC
 
Life Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Life Cycle of Metrics, Alerting, and Performance Monitoring in MicroservicesLife Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Life Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
 
ql.io at NodePDX
ql.io at NodePDXql.io at NodePDX
ql.io at NodePDX
 
Open Source SQL databases enter millions queries per second era
Open Source SQL databases enter millions queries per second eraOpen Source SQL databases enter millions queries per second era
Open Source SQL databases enter millions queries per second era
 
Managing your Black Friday Logs NDC Oslo
Managing your  Black Friday Logs NDC OsloManaging your  Black Friday Logs NDC Oslo
Managing your Black Friday Logs NDC Oslo
 
Managing your black friday logs - Code Europe
Managing your black friday logs - Code EuropeManaging your black friday logs - Code Europe
Managing your black friday logs - Code Europe
 
Apache Spark Data intensive processing in practice
Apache Spark Data intensive processing in practice Apache Spark Data intensive processing in practice
Apache Spark Data intensive processing in practice
 
Building a Cross Channel Content Delivery Platform with MongoDB
Building a Cross Channel Content Delivery Platform with MongoDBBuilding a Cross Channel Content Delivery Platform with MongoDB
Building a Cross Channel Content Delivery Platform with MongoDB
 
Data oriented design and c++
Data oriented design and c++Data oriented design and c++
Data oriented design and c++
 

More from zhu02

Beta Mranti
Beta MrantiBeta Mranti
Beta Mrantizhu02
 
Sae Technique Brief
Sae Technique BriefSae Technique Brief
Sae Technique Briefzhu02
 
6 When Travel Meets Net David
6 When Travel Meets Net David6 When Travel Meets Net David
6 When Travel Meets Net Davidzhu02
 
8 浜у搧璁捐涓殑浠峰€艰 Dm
8 浜у搧璁捐涓殑浠峰€艰 Dm8 浜у搧璁捐涓殑浠峰€艰 Dm
8 浜у搧璁捐涓殑浠峰€艰 Dmzhu02
 
城市
城市城市
城市zhu02
 
从搜索到发现
从搜索到发现从搜索到发现
从搜索到发现zhu02
 
聆听 声音艺术的政治学实践
聆听 声音艺术的政治学实践聆听 声音艺术的政治学实践
聆听 声音艺术的政治学实践zhu02
 
花旦介绍
花旦介绍花旦介绍
花旦介绍zhu02
 
Betacamp4.选秀
Betacamp4.选秀Betacamp4.选秀
Betacamp4.选秀zhu02
 
用漫画做环保:胖兔子粥粥个人讲演2绿帽子
用漫画做环保:胖兔子粥粥个人讲演2绿帽子用漫画做环保:胖兔子粥粥个人讲演2绿帽子
用漫画做环保:胖兔子粥粥个人讲演2绿帽子zhu02
 
Beta Huoju 090823
Beta Huoju 090823Beta Huoju 090823
Beta Huoju 090823zhu02
 
Youth Volunteer Movement
Youth Volunteer MovementYouth Volunteer Movement
Youth Volunteer Movementzhu02
 
诗人们都在干嘛
诗人们都在干嘛诗人们都在干嘛
诗人们都在干嘛zhu02
 
Betacamp.姬十三.2009.8.9
Betacamp.姬十三.2009.8.9Betacamp.姬十三.2009.8.9
Betacamp.姬十三.2009.8.9zhu02
 
奇遇花园是这个城市的咖啡馆
奇遇花园是这个城市的咖啡馆奇遇花园是这个城市的咖啡馆
奇遇花园是这个城市的咖啡馆zhu02
 
麦兜四格
麦兜四格麦兜四格
麦兜四格zhu02
 
基于Lucene的站内搜索 Beta
基于Lucene的站内搜索 Beta基于Lucene的站内搜索 Beta
基于Lucene的站内搜索 Betazhu02
 
胡泳《有关Twitter的疑问》
胡泳《有关Twitter的疑问》胡泳《有关Twitter的疑问》
胡泳《有关Twitter的疑问》zhu02
 
纪录片创作走向0712
纪录片创作走向0712纪录片创作走向0712
纪录片创作走向0712zhu02
 
科幻电影引领3 D时代
科幻电影引领3 D时代科幻电影引领3 D时代
科幻电影引领3 D时代zhu02
 

More from zhu02 (20)

Beta Mranti
Beta MrantiBeta Mranti
Beta Mranti
 
Sae Technique Brief
Sae Technique BriefSae Technique Brief
Sae Technique Brief
 
6 When Travel Meets Net David
6 When Travel Meets Net David6 When Travel Meets Net David
6 When Travel Meets Net David
 
8 浜у搧璁捐涓殑浠峰€艰 Dm
8 浜у搧璁捐涓殑浠峰€艰 Dm8 浜у搧璁捐涓殑浠峰€艰 Dm
8 浜у搧璁捐涓殑浠峰€艰 Dm
 
城市
城市城市
城市
 
从搜索到发现
从搜索到发现从搜索到发现
从搜索到发现
 
聆听 声音艺术的政治学实践
聆听 声音艺术的政治学实践聆听 声音艺术的政治学实践
聆听 声音艺术的政治学实践
 
花旦介绍
花旦介绍花旦介绍
花旦介绍
 
Betacamp4.选秀
Betacamp4.选秀Betacamp4.选秀
Betacamp4.选秀
 
用漫画做环保:胖兔子粥粥个人讲演2绿帽子
用漫画做环保:胖兔子粥粥个人讲演2绿帽子用漫画做环保:胖兔子粥粥个人讲演2绿帽子
用漫画做环保:胖兔子粥粥个人讲演2绿帽子
 
Beta Huoju 090823
Beta Huoju 090823Beta Huoju 090823
Beta Huoju 090823
 
Youth Volunteer Movement
Youth Volunteer MovementYouth Volunteer Movement
Youth Volunteer Movement
 
诗人们都在干嘛
诗人们都在干嘛诗人们都在干嘛
诗人们都在干嘛
 
Betacamp.姬十三.2009.8.9
Betacamp.姬十三.2009.8.9Betacamp.姬十三.2009.8.9
Betacamp.姬十三.2009.8.9
 
奇遇花园是这个城市的咖啡馆
奇遇花园是这个城市的咖啡馆奇遇花园是这个城市的咖啡馆
奇遇花园是这个城市的咖啡馆
 
麦兜四格
麦兜四格麦兜四格
麦兜四格
 
基于Lucene的站内搜索 Beta
基于Lucene的站内搜索 Beta基于Lucene的站内搜索 Beta
基于Lucene的站内搜索 Beta
 
胡泳《有关Twitter的疑问》
胡泳《有关Twitter的疑问》胡泳《有关Twitter的疑问》
胡泳《有关Twitter的疑问》
 
纪录片创作走向0712
纪录片创作走向0712纪录片创作走向0712
纪录片创作走向0712
 
科幻电影引领3 D时代
科幻电影引领3 D时代科幻电影引领3 D时代
科幻电影引领3 D时代
 

Recently uploaded

Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 

Recently uploaded (20)

Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 

Music Recommender Systems

  • 1. Music Recommender Systems 超群 .com [email_address] http://www.fuchaoqun.com 2009.11.22 Beta 技术沙龙 官方 twitter : @betasalon 官方网站: http://club.blogbeta.com 邮件组: http://groups.google.com/group/betasalon?hl=zh-CN
  • 2. Music Recommender Systems 超群 .com [email_address] http:// www.fuchaoqun.com
  • 3. Who is Using Recommender Systems?
  • 4.
  • 5.
  • 6.
  • 7. Association Rules TID Items 1 Bread 、 Milk 2 Bread 、 Diaper 、 Beer 、 Egg 3 Diaper 、 Beer 、 Cola 4 Bread 、 Milk 、 Diaper 、 Beer 5 Bread 、 Milk 、 Diaper 、 Cola Items Times Beer 、 Diaper 3 Bread 、 Milk 3 Beer 、 Bread 2 Diaper 、 Milk 2 Beer 、 Milk 1
  • 8.
  • 9.
  • 10. Slope One User That is it Straight Through My Heart Jim 4 5 Mike 2 4 Fred 3 ?
  • 11.
  • 12.
  • 14. SVD Image copy from Here
  • 15. SVD In Image Compression Original K=10 K=20
  • 16.
  • 17. Demo from Here Which two people have the most similar tastes? Which two season are the most close?
  • 18. Demo
  • 19. Demo
  • 20.
  • 21. MAGIC DIVISI ! #!/usr/bin/env python #coding=utf-8 import divisi from divisi.cnet import * data = divisi.SparseLabeledTensor(ndim = 2) # read some rating into data # data[user_id, song_id] = 4 svd_result = data.svd(k = 128) # get songs that the user may like # predict_features(svd_result, user_id).top_items(100) # get similar songs # feature_similarity(svd_result, song_id).top_items(100) # get users that have similar tastes # concept_similarity(svd_result, user_id).top_items(100)
  • 22.
  • 23.
  • 24.
  • 25. Data Preprocessing UserId SongId Times 3306 3654 200 3306 6950 236 3306 6528 268 3306 5874 325 3306 9527 126 3306 5624 98 3306 9635 115 3306 6962 210 … . … . … . UserId SongId Weight 3306 3654 0.62 3306 6950 0.73 3306 6528 0.82 3306 5874 1 3306 9527 0.39 3306 5624 0.30 3306 9635 0.35 3306 6962 0.65 … . … . … .
  • 26. Data Mining UserId SongId Weight 3306 3654 0.62 3306 6950 0.73 3306 6528 0.82 3306 5874 1 3306 9527 0.39 3306 5624 0.30 3306 9635 0.35 3306 6962 0.65 … . … . … . UserId Similary Users’ Id … . … . SongId Similary Songs’ Id … . … .
  • 27.