Skip to content

Instantly share code, notes, and snippets.

View edisonqkj's full-sized avatar

Edison Qian edisonqkj

  • China
View GitHub Profile
@edisonqkj
edisonqkj / cleangpx.py
Created June 5, 2016 01:39 — forked from dal/cleangpx.py
Simple python script to remove unwanted discontinuities in gpx track files.
#!/usr/bin/python
'''
Split gpx tracks at discontinuities, that is, pairs of points in a track that
are further than a given distance threshold.
'''
import collections
from lxml import etree
import math
import optparse
import re
@edisonqkj
edisonqkj / LSH.m
Created December 12, 2013 07:41
Hashing for Cosine Similarity
%% Hashing for Cosine Similarity
% This m file is written for the learning of Locality Sensitive Hashing.
% Enjoy! Any problem is welcome!
%
% Time: 2013/12/12
% Released by: edisonqkj
% E-mail: edison90110@gmail.com
% Referrence:
% http://www.cs.jhu.edu/~vandurme/papers/VanDurmeLallACL10-slides.pdf
% https://gist.github.com/greeness/94a3d425009be0f94751