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
noteの記事レコメンドについて
Search
Akira Midorikawa
February 21, 2019
Programming
720
1
Share
noteの記事レコメンドについて
Akira Midorikawa
February 21, 2019
More Decks by Akira Midorikawa
See All by Akira Midorikawa
pixivFACTORYのプレビューを支える技術
redcap97
0
15k
Other Decks in Programming
See All in Programming
Kingdom of the Machine
yui_knk
2
1.5k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
330
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1.1k
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
400
AIと共に生きる技術選定 2026
sgash708
0
130
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
5
1.6k
JCON - Create Agentic AI Apps, The Easy Way!
kdubois
1
100
【26新卒研修】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
150
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
380
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
110
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
1.8k
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Building Adaptive Systems
keathley
44
3k
Bash Introduction
62gerente
615
210k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
540
Navigating Team Friction
lara
192
16k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Transcript
noteͷهࣄϨίϝϯυ ʹ͍ͭͯ note engineer meetup #2
ࣗݾհ • ߊ (Akira Midorikawa) • 20188݄ೖࣾ • αʔόαΠυͷ։ൃΛ͖ͬͯͨ •
࠷ۙɺٳαφʹΑ͘ߦͬͯΔ
noteͷهࣄϨίϝϯυͱ
noteͷهࣄΛݟͯҰ൪Լ·Ͱ Ҡಈ͢Δͱग़ͯ͘Δػೳ
None
Ϩίϝϯυͷ͘͠Έ • noteʹςΩετ͕ओମͷهࣄ͕ଟ͍ • هࣄͷςΩετ͔Βࣅ͍ͯΔهࣄΛϢʔβʹ ͓͢͢Ί͍ͯ͠Δ
Ϩίϝϯυͷ͘͠Έ • ࣅ͍ͯΔهࣄΛ୳͢ͷʹPythonͷϥΠϒϥϦ ͷgensim (Doc2Vec)Λར༻͍ͯ͠Δ
Ϩίϝϯυͷ͘͠Έ • ͓͢͢Ίʹ༻͢Δهࣄɺਓ͕Λ௨ͯ͠ ΫΦϦςΟͷߴ͍هࣄΛબΜͰ͍Δ • શʹϗϫΠτϦετܗࣜʹͳ͍ͬͯΔ
͜ͷػೳ20184݄ʹ ϦϦʔε͞Ε·ͨ͠
͔͠͠ॏେͳΛ ๊͍͑ͯͨ
ͦͦϨίϝϯυͷ ਫ਼͕͗͢Δ
Ϩίϝϯυͷਫ਼͕͍ • શવɺࣅ͍ͯΔهࣄΛϨίϝϯυͰ͖ͯͳ͍ • ͖͋Β͔ʹக໋తͳ • લऀ͕طʹࣙΊͯͨͷͰγεςϜͷશମ૾ ΛͬͯΔਓ͍ͳ͍
ͦΜͳঢ়گ͔Β Ϩίϝϯυͷվળ͕࢝·Δ
·ͣΛऔΔ
ΛͱΔ • ϨίϝϯυͷදࣔͱΫϦοΫͷৄࡉΛͱΕΔ ΈΛͭ͘Δ • SQLͰूܭͰ͖Δ • RedashͰμογϡϘʔυ࡞ͬͯຖݟΔ
ΛݟͯϥϯμϜͳ Ϩίϝϯυ͕ඇৗʹଟ͍͜ͱ ͕͔Δ
ϥϯμϜͳϨίϝϯυ? • Pythonͷόον͕Ϩίϝϯυ݁ՌΛੜ͢Δ ·ͰʹهࣄΛϥϯμϜʹද͍ࣔͯͨ͠ • ͔͠ϥϯμϜͰද͍ࣔͯ͠Δظ͕ؒҟ༷ʹ ͍͜ͱʹؾͮ͘ • ͕͢͞ʹϥϯμϜදࣔCTR͕ͱ͍ͯͷͰ ظؒΛॖΊ͍ͨ
࠷ऴతʹΈΛ1͔Β࡞Γ ͢͜ͱʹͳΔ
APIαʔόΛͭ͘Δ • Ϩίϝϯυ݁ՌΛฦ͢APIαʔόΛFlaskͰ ࡞͢Δ • هࣄ͕ެ։͞ΕͨλΠϛϯάͰAPIαʔόʹϦ ΫΤετΛૹͬͯϨίϝϯυ݁ՌΛड͚औͬ ͯDBʹอଘ͢Δ
OPUFBQQ 3BJMT +PC 4JEFLJR .-"1* 'MBTL %#
APIαʔόΛͭ͘Δ • ͜ΕʹΑͬͯϥϯμϜͳϨίϝϯυ͕දࣔ͞Ε Δ͜ͱ΄΅ͳ͘ͳͬͨ • શମͷΫϦοΫ, CTR্͕ঢ͢Δ
Ϩίϝϯυͷਫ਼Λ্͛Δ
Ϩίϝϯυͷਫ਼Λ্͛Δ • ͜Εύϥϝʔλͷௐͨ͠ΓɺABςετ͠ ͨΓͯ͠ࢼߦࡨޡͯ͠·͢ • ͦͷதͰҰ൪ޮՌ͕͋ͬͨͷίʔύεͷ αΠζΛ૿͢͜ͱ
Ϩίϝϯυͷਫ਼Λ্͛Δ • ͓͢͢Ί͢ΔهࣄϗϫΠτϦετܗࣜͳͷ Ͱ1ສهࣄ͙Β͍͔͠ͳ͍ • Doc2Vecͷ୯ޠͷࢄදݱΛेʹֶश͢Δ ʹσʔλྔ͕Γͯͳ͍
Ϩίϝϯυͷਫ਼Λ্͛Δ • ຊ൛WikipediaͱnoteͰެ։͞Ε͍ͯΔ શهࣄΛDoc2Vecͷ୯ޠͷࢄදݱΛֶश͢ Δͷʹ༻͢Δ • ͜ΕʹΑͬͯΑΓ͍ۙهࣄΛϨίϝϯυͰ͖ ΔΑ͏ʹͳͬͨ
ֶशʹ༻͢ΔίʔύεΛ ૿ͨ͠ޮՌΛൺֱ͢Δ
None
Ϩίϝϯυͷൺֱ (ఆੑධՁ)
Ϩίϝϯυͷൺֱ (ఆੑධՁ) ϑΣϯωϧΛϋʔϒͱ͔߳ຯࡊͱ͍ۙ୯ޠͱ ֶश͍ͯ͠Δͷ͔ͦ͏͍ͬͨهࣄͷྨࣅ্͕ ͕͍ͬͯΔ
Ϩίϝϯυͷൺֱ (CTR, ABςετ)
վળͷਐḿ
CTR: +4% ΫϦοΫ: 3~4ഒ
CTR, ΫϦοΫͱ ॱௐʹ৳ͼ͍ͯΔ✨
͋Γ͕ͱ͏͍͟͝·ͨ͠!