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
Making Scores with HiScore
Search
Hakka Labs
February 13, 2015
Programming
3.5k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Making Scores with HiScore
Video here:
Hakka Labs
February 13, 2015
More Decks by Hakka Labs
See All by Hakka Labs
New Workflows for Building Data Pipelines
hakka_labs
0
2.9k
Collaborative Topic Models for Users and Texts
hakka_labs
0
2.8k
Groupcache with Evan Owen
hakka_labs
2
5.4k
Testing Android at Spotify
hakka_labs
1
4.5k
It's Not a Bug, It's a Feature!
hakka_labs
0
3.2k
K-means Clustering to Understand Your Users
hakka_labs
0
2k
Building Amy: The Email-based Virtual Assistant by x.ai
hakka_labs
0
5k
Deep Learning and NLP Applications
hakka_labs
3
13k
Go and the Gophers
hakka_labs
2
11k
Other Decks in Programming
See All in Programming
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
6
1.4k
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
890
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.8k
OSもどきOS
arkw
0
580
さぁV100、メモリをお食べ・・・
nilpe
0
150
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
270
Vite+ Unified Toolchain for the Web
naokihaba
0
320
AI時代のUIはどこへ行く?その2!
yusukebe
22
7.4k
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
560
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
200
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
270
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
370
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
3
420
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
170
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Technical Leadership for Architectural Decision Making
baasie
3
420
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Making Projects Easy
brettharned
120
6.7k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
210
Tell your own story through comics
letsgokoyo
1
960
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
460
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Transcript
Making Scores with HiScore Abe Othman
None
None
None
None
HiScore is a python library for creating and maintaining scores
It uses a novel quasi-Kriging solution to a new methodology,
supervised scoring
What are scores?
Scores are a tool for domain experts to communicate their
expertise to a broad audience
88 51 27
} 58 Score Function Dimensions Score
There is no one correct scoring function
Scores are typically developed using the dual approach
1. Select a set of basis functions f(x ⃗) =
∑ γᵢφᵢ(x ⃗)
2. Adjust coefficients until things look right f(x ⃗) =
∑ γᵢφᵢ(x ⃗)
Dual scores ossify
Walkscore Problems Score of 100, but the highest crime in
SF
Supervised scoring: a primal approach
Experts start by labeling a reference set and the objects’
dimensions
Algorithm makes a scoring function that interpolates and obeys the
monotone relationship
Some nice features
Monotonicity is important for score acceptance and understanding
See a mis-scored point? Add it to the reference set
and re-run!
OK, but what algorithm?
Easy in one dimension
None
None
None
Hard in many dimensions
Failed approach: simplical interpolation
None
Failed approach: B-spline product bases
Supervised Scoring with Monotone Multidimensional Splines, AAAI 2014
Curse of dimensionality!
None
None
None
Failed approach: RBF with monotone row generation constraints
Failed approach: Neural Networks
None
None
Success: Beliakov
Reminder: Lipschitz Continuity |f(a)-f(b)| < C |a-b|
None
Monotone Lipschitz continuity
None
1. Project monotone Lipschitz cones from each point to generate
upper and lower bounds
2. Find the sup and inf constraints from the bounding
cones
3. Function value is halfway in-between the sup and inf
bounds
Beliakov example
Beliakov plateaux
Beliakov plateaux
How can we smooth and improve this?
Abandon Lipschitz, just project minimal cones from each point
None
`
HiScore solution
Using HiScore: Simplified Water Well Score
None
None
Two factors: Distance from nearest latrine and platform size
Label a reference set by taking high, middle and low
values in each dimension
Distance: 0m, 10m, 50m Size: 1SF, 25SF, 100SF
Score Distance Size 0 0 1 5 0 25 10
0 100 20 10 1 50 10 25 60 10 100 65 50 1 90 50 25 100 50 100 Monotone Relationship: (+, +)
import hiscore reference_set = {(0,1): 0, (0,25): 5, (0,100): 10,
(10,1): 20, (10,25): 50, … } mono_rel = [1,1] hiscore.create(reference_set, mono_rel, minval=0, maxval=100)
None
Complicate the model with additional factors
Avoid curse of dimensionality by building a tree
None
Possible to easily construct and understand scores with dozens of
input dimensions
Making dimensions monotone: blood pressure
None
S+ > 0 S- = 0 D+ > 0 D-
= 0 D+ = 0 D- > 0 S+ = 0 S- > 0
What do you want to score? github.com/aothman/ hiscore $ pip
install hiscore
Thanks!
[email protected]