Skip to content

Instantly share code, notes, and snippets.

View marta-sd's full-sized avatar

Marta Stepniewska-Dziubinska marta-sd

View GitHub Profile
@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
@sgsfak
sgsfak / Drugbank parse to DB
Last active December 23, 2018 08:11
Parse DrugBank XML file with xmlstarlet
We couldn’t find that file to show.