nowfound

Life & fun · June 11, 2019

ME

Margin Elo (MELO) – new ML algorithm for pairwise comparison

Margin Elo (MELO) – new ML algorithm for pairwise comparison launched on June 11, 2019 with 6 votes, #977 of 2,757 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 7 years on.

What it does

melo generalizes the Bradley-Terry paired comparison model beyond binary outcomes to include margin-of-victory information. It does this by “redefining what it means to win” using a variable handicap to shift the threshold of paired comparison. The framework is general and has numerous applications in ranking, estimation, and time series prediction. import pkgutil import numpy as np from melo import Melo # the package comes pre-bundled with an example dataset pkgdata = pkgutil . get_data ( 'melo' , 'nfl.dat' ) . splitlines () dates , teams_home , scores_home , teams_away , scores_away = zip ( * [ l . split () for l in pkgdata [ 1 :]]) # define a binary comparison statistic spreads = [ int (…from moreland.dev

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, June 2019

the whole month →