Skip to content

Instantly share code, notes, and snippets.

@terrycojones
Created January 22, 2016 10:20
Show Gist options
  • Save terrycojones/a00603e8506d385f1e5c to your computer and use it in GitHub Desktop.
Save terrycojones/a00603e8506d385f1e5c to your computer and use it in GitHub Desktop.
def bestBin(histogram, significantBins, significance):
"""
Calculate the overall match score ...
@param: A sorted (by score) list of significant bins.
"""
return significantBins[0]['score']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment