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
LiLa'16
March 20, 2016
Research
61
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
88
02 Online Evaluation
lila16ecir
0
94
03 LL4IR Architecture
lila16ecir
0
74
04 Use-Cases
lila16ecir
0
79
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
61
10 Simulations
lila16ecir
0
86
Other Decks in Research
See All in Research
SoftMatcha 2: 1兆語規模コーパスの超高速かつ柔らかい検索
e869120_sub
7
3.7k
Language and AI
ayaniwa
0
210
LLM の Attention 機構まとめ — 数式・計算量・メモリ
puwaer
8
2.5k
【中間報告】国会議員の立法・政策実務を支える環境を巡る現状と課題
polipoli
0
470
Apache Gravitinoで実現する Icebergカタログ統合とアクセスの一元化
matsumooon
0
450
LINEヤフー データサイエンス Meetup「三井物産コモディティ予測チャレンジ」の舞台裏-AlpacaTechパート
gamella
1
630
EIRによる不正端末のブロッキング 5G時代におけるデバイス識別と不正対策の進化
stellarcraft
0
120
LA-Bench 2025:実験指示から実行可能手順を生成するためのデータセット/LA-Bench 2025: A Dataset for Generating Executable Experimental Procedures from Experimental Instructions
stktu
0
130
Ghost in the 7‑Zip: The Shadow of Residential Proxies Creeping into Your Life
nttcom
0
1.9k
羽田新ルート運用6年の検証
1manken
0
200
某助成金プロジェクト採択に向けて企業研究所のアウトリーチ専任者がやったこと
afroscript
0
170
AIで最適化を解けるか?
mickey_kubo
0
150
Featured
See All Featured
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Crafting Experiences
bethany
1
260
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
470
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
570
Practical Orchestrator
shlominoach
191
12k
Building the Perfect Custom Keyboard
takai
2
850
Building AI with AI
inesmontani
PRO
1
1.2k
We Have a Design System, Now What?
morganepeng
55
8.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The Pragmatic Product Professional
lauravandoore
37
7.4k
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