Skip to content

Instantly share code, notes, and snippets.

@jwcarr
jwcarr / vi.py
Last active June 20, 2024 08:50
Variation of information (VI)
# Variation of information (VI)
#
# Meila, M. (2007). Comparing clusterings-an information
# based distance. Journal of Multivariate Analysis, 98,
# 873-895. doi:10.1016/j.jmva.2006.11.013
#
# https://en.wikipedia.org/wiki/Variation_of_information
from math import log
@jwcarr
jwcarr / verification
Created January 20, 2016 21:43
onename_verification
Verifying that +joncarr is my blockchain ID. https://onename.com/joncarr