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
07 API Interactions II.
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
LiLa'16
March 20, 2016
Research
60
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
07 API Interactions II.
LiLa'16
March 20, 2016
More Decks by LiLa'16
See All by LiLa'16
01 Introduction
lila16ecir
0
87
02 Online Evaluation
lila16ecir
0
93
03 LL4IR Architecture
lila16ecir
0
72
04 Use-Cases
lila16ecir
0
78
05 API Interactions I.
lila16ecir
0
69
06 Models for Use-Cases
lila16ecir
0
64
08 Interpreting Feedback
lila16ecir
0
110
09 API Interactions III.
lila16ecir
0
60
10 Simulations
lila16ecir
0
84
Other Decks in Research
See All in Research
言語モデルから言語について語る際に押さえておきたいこと
eumesy
PRO
5
2.3k
Φ-Sat-2のAutoEncoderによる情報圧縮系論文
satai
4
780
オーストリア流 都市の公共交通サービス水準評価@公共交通オープンデータ最前線2026
trafficbrain
0
180
第66回コンピュータビジョン勉強会@関東 Epona: Autoregressive Diffusion World Model for Autonomous Driving
kentosasaki
0
630
「AIとWhyを深堀る」をAIと深堀る
iflection
0
490
老舗ものづくり企業でリサーチが変革を起こすまで - 三菱重工DXの実践
skydats
0
190
AGI4OPT:自然言語から数理最適化を導くエ ージェントスキル Translating Human Intent into Mathematical Optimization
mickey_kubo
0
140
計算情報学研究室(数理情報学第7研究室)2026
tomohirokoana
0
550
適応的スパムフィルタのための軽量な類似メッセージカウンタ / jsai2026-adaptive-spam-filter
monochromegane
0
3.6k
業界横断 副業コンプライアンス調査 三者(副業者・本業先・発注者)におけるトラブル認知ギャップの構造分析
fkske
0
1.3k
Unified Audio Source Separation (Defense Slides)
kohei_1979
1
610
衛星×エッジAI勉強会 衛星上におけるAI処理制約とそ取組について
satai
4
560
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
0
9k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
30 Presentation Tips
portentint
PRO
1
320
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
440
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
850
Side Projects
sachag
455
43k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Transcript
Anne Schuth (Blendle / University of Amsterdam, The Netherlands) Krisztian
Balog (University of Stavanger, Norway) Tutorial at ECIR 2016 in Padua, Italy API Interactions II.
Outline for API interactions • Obtaining an API key and
signing up for a site • Getting queries and candidate items • Generating and uploading rankings • Obtaining feedback and outcome
Uploading ranking Living Labs API Researcher ranking click Queries Documents
Run endpoint • PUT /api/participant/run/(key)/(qid) • Submit a ranking for
a specific query • A run is just a ranking of docids as shown to users • A run can be updated • Note: runs for test queries can only be updated before the test period starts
Example { 'doclist': [ {'docid': u'R-d70'}, {'docid': u'R-d72'}, {'docid': u'R-d74'},
{'docid': u'R-d75'}, {'docid': u'R-d1270'}, {'docid': u'R-d73'}, {'docid': u'R-d1271'}, {'docid': u'R-d71'}], 'qid': u'R-q2', 'runid': "LiLa’16" } R-q2 Q0 R-d70 1 0.9 LiLa16 R-q2 Q0 R-d72 2 0.8 LiLa16 R-q2 Q0 R-d74 3 0.7 LiLa16 R-q2 Q0 R-d75 4 0.6 LiLa16 R-q2 Q0 R-d1270 5 0.5 LiLa16 R-q2 Q0 R-d73 6 0.4 LiLa16 R-q2 Q0 R-d1271 7 0.3 LiLa16 R-q2 Q0 R-d71 8 0.2 LiLa16
Example { 'doclist': [ {'docid': u'R-d70'}, {'docid': u'R-d72'}, {'docid': u'R-d74'},
{'docid': u'R-d75'}, {'docid': u'R-d1270'}, {'docid': u'R-d73'}, {'docid': u'R-d1271'}, {'docid': u'R-d71'}], 'qid': u'R-q2', 'runid': "LiLa’16" } PUT http://api.living-labs.net/api/ participant/doclist/(key)/R-q2
Historical feedback • Go figure • http://doc.living-labs.net/en/latest/api- participant.html#historical-feedback
Exercise • Code for baseline (single field) retrieval and uploading
the ranking to the API is given in 02_ranker.py 1. Implement multi-field retrieval 2. Incorporate historical feedback into the ranking