Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Amazon Personalizeではじめるレコメンドサービス
Search
tandfy
November 29, 2019
Technology
0
1.1k
Amazon Personalizeではじめるレコメンドサービス
HIGOBASHI.AWS 第12回 活用編のセッション「Amazon Personalizeではじめるレコメンドサービス」の資料です。
tandfy
November 29, 2019
Tweet
Share
More Decks by tandfy
See All by tandfy
アプリから集まるイベントデータのリアルタイム処理入門
tandfy
0
1.4k
Amazon SageMakerの最新アップデートの紹介
tandfy
1
870
DeepRacerで学ぶ機械学習 1.1
tandfy
0
950
DeepRacerで始める機械学習
tandfy
1
1.6k
DeepRacerでまなぶ強化学習
tandfy
1
1.3k
Amazon SageMakerではじめる物体検出
tandfy
1
1k
Other Decks in Technology
See All in Technology
20250116_JAWS_Osaka
takuyay0ne
2
200
Docker Desktop で Docker を始めよう
zembutsu
PRO
0
160
GoogleのAIエージェント論 Authors: Julia Wiesinger, Patrick Marlow and Vladimir Vuskovic
customercloud
PRO
0
150
Accessibility Inspectorを活用した アプリのアクセシビリティ向上方法
hinakko
0
180
#TRG24 / David Cuartielles / Post Open Source
tarugoconf
0
580
シフトライトなテスト活動を適切に行うことで、無理な開発をせず、過剰にテストせず、顧客をビックリさせないプロダクトを作り上げているお話 #RSGT2025 / Shift Right
nihonbuson
3
2.1k
PaaSの歴史と、 アプリケーションプラットフォームのこれから
jacopen
7
1.4k
デジタルアイデンティティ技術 認可・ID連携・認証 応用 / 20250114-OIDF-J-EduWG-TechSWG
oidfj
2
670
テストを書かないためのテスト/ Tests for not writing tests
sinsoku
1
170
When Windows Meets Kubernetes…
pichuang
0
300
AWS Community Builderのススメ - みんなもCommunity Builderに応募しよう! -
smt7174
0
170
技術に触れたり、顔を出そう
maruto
1
150
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
32
6.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Thoughts on Productivity
jonyablonski
68
4.4k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Building Applications with DynamoDB
mza
93
6.2k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
98
18k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
500
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
How STYLIGHT went responsive
nonsquared
96
5.3k
Transcript
)*(0#"4)*"84 ୈճ׆༻ฤ େᖒ༐ే "NB[PO1FSTPOBMJ[FͰ͡ΊΔϨίϝϯυαʔϏε
ࣗݾհ େᖒ༐ే σʔλΞφϦςΟΫεࣄۀຊ෦ΠϯςάϨʔγϣϯ෦ ػցֶशνʔϜΤϯδχΞ!େࡕ
ࠓ͢༰ wύʔιφϥΠζͱ wϨίϝϯυͱ wϨίϝϯυαʔϏεΛΣϒΞϓϦʹΈࠐΉྫ w"NB[PO1FSTPOBMJ[Fͱ w"NB[PO1FSTPOBMJ[FͷྲྀΕ w"NB[PO1FSTPOBMJ[Fͷྉۚ w"NB[PO1FSTPOBMJ[F4BNQMFT
εϥΠυޙͰೖख͢Δ͜ͱ͕ग़དྷ·͢ͷͰ ൃදதͷ༰ΛϝϞ͢Δඞཁ͋Γ·ͤΜɻ ࣸਅࡱӨΛ͢Δ߹ ϑϥογϡɾγϟολʔԻ͕ग़ͳ͍Α͏ʹྀ͍ͩ͘͝͞ Attention
ύʔιφϥΠζͱ
ύʔιφϥΠζͱ ύʔιφϥΠθʔγϣϯʢӳQFSTPOBMJ[BUJPOʣɺύʔιφϥΠζ ʢQFSTPOBMJ[Fʣͱ͍͏ಈࢺͷ໊ࢺܗͰ͋ΓɺʮԿ͔Λݸʑਓ͚ʹΧελϚΠζ͢Δ ͜ͱʯΛҙຯ͢Δɻ By ϑϦʔඦՊࣄయʰΟΩϖσΟΞʢWikipediaʣʱ
Ϩίϝϯυͱ
Ϩίϝϯυͱ ϢʔβͷΈߦಈʹ߹ΘͤͨΞΠςϜΛհ͢Δ͜ͱ
ϢʔβϕʔεϨίϝϯυ
ΞΠςϜϕʔεϨίϝϯυ
Ϩίϝϯυͱ ϢʔβͷΈߦಈʹ߹ΘͤͨΞΠςϜΛհ͢Δ w͓͢͢Ί͢Δ͜ͱͰϢʔβʹΞΠςϜͷൃݟΛଅ͢ wϦιʔεͷ༗ޮ׆༻ wϢʔβମݧͷ࠷దԽ ͳͲɹɹɹ
ϨίϝϯυαʔϏεΛ ΣϒΞϓϦʹΈࠐΉྫ
Ϩίϝϯυ"1*ͷೖग़ྗྫ {"userId": "13"} ϨίϝϯυAPI { "recommendedItems": [ “102", "209",
"12", “3” ] }
ϨίϝϯυαʔϏεΛΣϒΞϓϦʹΈࠐΉྫ API Gateway Lambda
"NB[PO1FSTPOBMJ[FΛ͏߹ͷྫ ϦΞϧλΠϜϨίϝϯσʔγϣϯ API Gateway Lambda Personalize
"NB[PO1FSTPOBMJ[FΛ͏߹ͷྫ όονϨίϝϯσʔγϣϯ API Gateway Lambda Lambda DynamoDB S3 Personalize
"NB[PO1FSTPOBMJ[Fͱ
"NB[PO1FSTPOBMJ[Fͱ ϑϧϚωʔδυͳϨίϝϯυαʔϏε wσʔλͷੵ͔ΒϞσϧͷֶशɺϨίϝϯυ"1*·ͰରԠ wϦΞϧλΠϜͱόονͰͷϨίϝϯυʹରԠ w"NB[PODPNͰഓΘΕ͖ٕͯͨज़Λ༻Ͱ͖Δ wػցֶशͷࣝෆཁ
"NB[PO1FSTPOBMJ[Fͱ https://aws.amazon.com/personalize/
"NB[PO1FSTPOBMJ[Fͷ༻ޠ wσʔληοτάϧʔϓιϦϡʔγϣϯ࡞ʹ༻͢ΔσʔληοτͷΈ ߹Θͤɻ6TFS *UFN 6TFSJUFNJOUFSBDUJPOͷछྨͷσʔληοτͰߏ wϨγϐͲͷΑ͏ʹσʔληοτΛॲཧ͠ɺͲΜͳΞϧΰϦζϜΛ͏͔ͷఆٛ wιϦϡʔγϣϯϨίϝϯυϞσϧɻσʔληοτ͔ΒϨγϐΛͱʹ࡞ wΩϟϯϖʔϯιϦϡʔγϣϯͷϗεςΟϯάڥɻϨίϝϯυ"1*
ରԠ͍ͯ͠ΔϨίϝϯυ Ϩγϐ ͷछྨ w64&3@1&340/"-*;"5*0/ࢦఆͨ͠Ϣʔβͷ͓͢͢ΊΞΠςϜ Λ্ҐOݸٻΊΔ w1&340/"-*;&%@3"/,*/(ࢦఆͨ͠Ϣʔβͷ͓͢͢Ί߹͍ ʹԠͨ͡ॱ൪ʹࢦఆͨ͠ΞΠςϜҰཡΛͳΒΔ w3&-"5&%@*5&.4ࢦఆͨ͠ΞΠςϜʹྨࣅ͢ΔΞΠςϜΛ্ҐOݸٻΊ Δ
"NB[PO1FSTPOBMJ[FͷྲྀΕ
جຊతͳྲྀΕ
σʔληοτάϧʔϓͷ࡞
σʔληοτάϧʔϓͷ࡞ σʔληοτ
σʔλಡΈࠐΈ
Πϕϯτͷੵ
Πϕϯτͷੵ https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html
ιϦϡʔγϣϯ࡞
ιϦϡʔγϣϯόʔδϣϯ࡞ 'JOJTI͘͠$SFBUFTPMVUJPOWFSTJPOΛΫϦοΫ͢Δͱ ιϦϡʔγϣϯόʔδϣϯ͕֬ೝͳ͠Ͱ࡞͞ΕΔͷͰҙ ιϦϡʔγϣϯ࡞ޙ ιϦϡʔγϣϯը໘
Ωϟϯϖʔϯ࡞
ϦΞϧλΠϜϨίϝϯσʔγϣϯ https://docs.aws.amazon.com/personalize/latest/dg/getting-recommendations.html Ϛωδϝϯτίϯιʔϧ AWS Python SDK
όονϨίϝϯσʔγϣϯ
"NB[PO1FSTPOBMJ[Fͷྉۚ
ྉۚ σʔλͷऔΓࠐΈͱτϨʔχϯά wσʔλͷऔΓࠐΈ64%(# wτϨʔχϯά64%τϨʔχϯά࣌ؒ ྫ w݄ʹ߹ܭ(#ͷσʔλΛಡΈࠐΈ 64% wʹճιϦϡʔγϣϯόʔδϣϯΛ࡞ɻ̍ճͷτϨʔχϯά࣌ؒฏۉ࣌ؒɻ
ϲ݄ɻ 64%
ྉۚ ϦΞϧλΠϜϨίϝϯσʔγϣϯ ϲ݄͋ͨΓͷ514࣌ؒ͋ͨΓͷྉۚ w࠷ॳͷສ514࣌ؒ·Ͱ64% w࣍ͷສ514࣌ؒ·Ͱ64% wສ514࣌ؒҎ߱64% ྫ w ࣌ؒ
Ͱ֤࣌ؒ 514࣌ؒ ফඅ 64% ※ TPS: 1ඵ͋ͨΓͷτϥϯβΫγϣϯ
ྉۚ όονϨίϝϯσʔγϣϯ ϲ݄͋ͨΓͷϨίϝϯσʔγϣϯઍ݅͋ͨΓͷྉۚ w࠷ॳͷઍສ݅64% w࣍ͷԯઍສ݅64% wԯ݅Ҏ߱64% ྫ wϲ݄
ؒʹສϢʔβͷϨίϝϯσʔγϣϯΛ࡞ 64% ※ ϢʔβϕʔεͰ͋Εॲཧ͞ΕͨϢʔβɺΞΠςϜϕʔεͰ͋Εॲཧ͞ΕͨΞΠςϜʹΑΔྉۚ
Amazon Personalizeʹ͍ͭͯͬͱΓ͍ͨ
"NB[PO1FSTPOBMJ[F4BNQMFT
"NB[PO1FSTPOBMJ[F4BNQMFT https://github.com/aws-samples/amazon-personalize-samples/tree/master/diagnose
"NB[PO1FSTPOBMJ[F4BNQMFT https://github.com/aws-samples/amazon-personalize-samples/tree/master/diagnose
"NB[PO1FSTPOBMJ[F4BNQMFT https://github.com/aws-samples/amazon-personalize-samples/tree/master/diagnose
"NB[PO1FSTPOBMJ[F4BNQMFT https://github.com/aws-samples/amazon-personalize-samples/tree/master/diagnose
·ͱΊ
·ͱΊ "NB[PO1FSTPOBMJ[FϑϧϚωʔδυͳϨίϝϯυ αʔϏε wػցֶशͷࣝෆཁͰɺBNB[PODPNͰഓΘΕ͖ٕͯͨज़ ͕͑Δ wػցֶशͷ͕ࣝ͋Δͱνϡʔχϯά͕༰қʹͳΔ wϦΞϧλΠϜ"1*ͱͯ͠ɺόονͰ͑Δ
None