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
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
860
DeepRacerで学ぶ機械学習 1.1
tandfy
0
940
DeepRacerで始める機械学習
tandfy
1
1.6k
DeepRacerでまなぶ強化学習
tandfy
1
1.3k
Amazon SageMakerではじめる物体検出
tandfy
1
990
Other Decks in Technology
See All in Technology
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
130
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
180
組織成長を加速させるオンボーディングの取り組み
sudoakiy
2
220
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
440
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
520
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
630
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
4
230
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
130
Engineer Career Talk
lycorp_recruit_jp
0
190
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
900
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
180
21k
Making Projects Easy
brettharned
115
5.9k
Ruby is Unlike a Banana
tanoku
97
11k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Fireside Chat
paigeccino
34
3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
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