Skip to content

Instantly share code, notes, and snippets.

View JosephKJ's full-sized avatar
🙇‍♂️
Work hard!

Joseph K J JosephKJ

🙇‍♂️
Work hard!
View GitHub Profile
@JosephKJ
JosephKJ / bench_rocsgd.py
Created April 13, 2018 10:33 — forked from coreylynch/bench_rocsgd.py
Benchmark sklearn RankSVM implementations (now with sofia binding benchmarks)
import itertools
import numpy as np
from sklearn.linear_model import SGDClassifier, SGDRanking
from sklearn import metrics
from minirank.compat import RankSVM as MinirankSVM
from scipy import stats