Skip to content

Instantly share code, notes, and snippets.

View wanghaoLisa's full-sized avatar

Lisa wanghaoLisa

  • Beijing
View GitHub Profile
@wanghaoLisa
wanghaoLisa / sklearn-auprc.ipynb
Created July 5, 2017 10:54 — forked from agitter/sklearn-auprc.ipynb
Precision recall curves in scikit-learn with ties
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wanghaoLisa
wanghaoLisa / rank_metrics.py
Created July 4, 2017 02:14 — forked from bwhite/rank_metrics.py
Ranking Metrics
"""Information Retrieval metrics
Useful Resources:
http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt
http://www.nii.ac.jp/TechReports/05-014E.pdf
http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf
http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf
Learning to Rank for Information Retrieval (Tie-Yan Liu)
"""
import numpy as np