Commit 631faa79 authored by Steve Tjoa's avatar Steve Tjoa

lsh initial commit

parent 8c4ba788
......@@ -338,7 +338,7 @@ div#notebook {
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<ol>
<li><a href="notebooks/lsh_fingerprinting.ipynb">Locality Sensitive Hashing</a></li>
<li><a href="lsh_fingerprinting.html">Locality Sensitive Hashing</a> (<a href="lsh_fingerprinting.ipynb">ipynb</a>)</li>
</ol>
</div>
......
......@@ -113,7 +113,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"1. [Locality Sensitive Hashing](notebooks/lsh_fingerprinting.ipynb)"
"1. [Locality Sensitive Hashing](lsh_fingerprinting.html) ([ipynb](lsh_fingerprinting.ipynb))"
]
},
{
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"metadata": {
"name": "",
"signature": "sha256:d387e173a98616453a4425699fda77d47ae87ed7864fdc28e3bbb8283182abea"
"signature": "sha256:a95e890d187878bc772c53a63e8c02e8216cb324385f7ceea42dd2997dcc4d5d"
},
"nbformat": 3,
"nbformat_minor": 0,
......@@ -41,7 +41,7 @@
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
"prompt_number": 26
},
{
"cell_type": "markdown",
......@@ -59,7 +59,7 @@
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 2
"prompt_number": 27
},
{
"cell_type": "markdown",
......@@ -78,7 +78,7 @@
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 3
"prompt_number": 28
},
{
"cell_type": "markdown",
......@@ -98,7 +98,7 @@
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 4
"prompt_number": 29
},
{
"cell_type": "code",
......@@ -113,7 +113,27 @@
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 5
"prompt_number": 30
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"bool2int([False, True, False, True])"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 31,
"text": [
"10"
]
}
],
"prompt_number": 31
},
{
"cell_type": "code",
......@@ -129,13 +149,13 @@
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 6,
"prompt_number": 32,
"text": [
"[5, 2, 1, 3, 5, 1, 7, 2, 4, 4]"
"[6, 7, 4, 6, 3, 0, 0, 4, 0, 3]"
]
}
],
"prompt_number": 6
"prompt_number": 32
},
{
"cell_type": "heading",
......@@ -176,7 +196,7 @@
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 7
"prompt_number": 33
},
{
"cell_type": "code",
......@@ -208,7 +228,7 @@
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 8
"prompt_number": 34
},
{
"cell_type": "code",
......@@ -252,7 +272,7 @@
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 9
"prompt_number": 35
},
{
"cell_type": "markdown",
......@@ -271,7 +291,7 @@
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 10
"prompt_number": 36
},
{
"cell_type": "markdown",
......@@ -284,7 +304,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
"test_file = '../test/test.wav'\n",
"test_file = '../test/brennan03.wav'\n",
"results = ms.query(test_file)"
],
"language": "python",
......@@ -294,11 +314,11 @@
"output_type": "stream",
"stream": "stdout",
"text": [
"num results 82209\n"
"num results 171464\n"
]
}
],
"prompt_number": 11
"prompt_number": 39
},
{
"cell_type": "markdown",
......@@ -321,63 +341,72 @@
"output_type": "stream",
"stream": "stdout",
"text": [
"../train/bach_s3_3_szeryng_03.wav 27.5178571429\n",
"../train/lady_madonna.wav 25.9036144578\n",
"../train/bach_s3_3_szeryng_01.wav 24.6964285714\n",
"../train/lady_madonna_crop.wav 24.6785714286\n",
"../train/bach_s3_3_szeryng_02.wav 24.0892857143\n",
"../train/bach_s3_3_szeryng_04.wav 23.1428571429\n",
"../train/brahms_s1_1_perlman_01.wav 23.0535714286\n",
"../train/Beethoven_vln_sonata5_Oistrakh_01.wav 22.7543859649\n",
"../train/konstantine.wav 22.0839694656\n",
"../train/bach_s3_3_szeryng_06.wav 21.8571428571\n",
"../train/Beethoven_vln_sonata5_Francescatti_02.wav 21.828125\n",
"../train/Beethoven_vln_sonata5_Oistrakh_03.wav 21.7272727273\n",
"../train/Beethoven_vln_sonata5_Zukerman_01.wav 21.1320754717\n",
"../train/Beethoven_vln_sonata5_Francescatti_04.wav 20.7924528302\n",
"../train/Beethoven_vln_sonata5_Francescatti_03.wav 20.7380952381\n",
"../train/brahms_s1_1_perlman_02.wav 20.6785714286\n",
"../train/Beethoven_vln_sonata5_Oistrakh_04.wav 20.5714285714\n",
"../train/Bach Vln Sonata1 - Fischbach 2004 - 02.wav 20.3939393939\n",
"../train/brahms_s1_1_perlman_06.wav 20.3571428571\n",
"../train/Beethoven_vln_sonata5_Oistrakh_02.wav 20.3492063492\n",
"../train/bach_s3_3_szeryng_05.wav 19.9464285714\n",
"../train/Beethoven_vln_sonata5_Zukerman_03.wav 19.9166666667\n",
"../train/Beethoven_vln_sonata5_Zukerman_02.wav 19.776119403\n",
"../train/Bach Vln Sonata1 - Milstein 1954 - 02.wav 19.1203703704\n",
"../train/brahms_rhapsody_01.wav 19.0361445783\n",
"../train/Beethoven_vln_sonata5_Oistrakh_05.wav 17.9090909091\n",
"../train/Beethoven_vln_sonata5_Zukerman_04.wav 17.6551724138\n",
"../train/brahms_rhapsody_02.wav 17.5058823529\n",
"../train/Beethoven_vln_sonata5_Francescatti_05.wav 17.1034482759\n",
"../train/Beethoven_vln_sonata5_Francescatti_01.wav 17.0\n",
"../train/office_theme.wav 16.9236947791\n",
"../train/Bach Vln Partita3 - Milstein 1955 - 01.wav 16.8820512821\n",
"../train/Beethoven_vln_sonata5_Zukerman_05.wav 16.3194444444\n",
"../train/brahms_s1_1_perlman_05.wav 16.0714285714\n",
"../train/bach_p3_1_heifetz_03.wav 15.8928571429\n",
"../train/Bach Vln Partita3 - Milstein 1955 - 03.wav 15.2528735632\n",
"../train/bach_p3_1_perlman_03.wav 14.8214285714\n",
"../train/moonlight.wav 14.8145454545\n",
"../train/bach_p3_1_perlman_04.wav 13.0535714286\n",
"../train/brahms_s1_1_perlman_03.wav 12.125\n",
"../train/Bach Vln Partita3 - Fischbach 2004 - 01.wav 12.0444444444\n",
"../train/brahms_s1_1_perlman_04.wav 11.6071428571\n",
"../train/bach_p3_1_heifetz_04.wav 11.2321428571\n",
"../train/Bach Vln Partita3 - Fischbach 2004 - 03.wav 10.9273743017\n",
"../train/dont_stop_believin.wav 9.9246031746\n",
"../train/bach_p3_1_heifetz_02.wav 9.89285714286\n",
"../train/brandenburg3_01.wav 8.89\n",
"../train/bach_p3_1_perlman_02.wav 7.60714285714\n",
"../train/bach_p3_1_heifetz_01.wav 7.55357142857\n",
"../train/bach_p3_1_heifetz_05.wav 7.10714285714\n",
"../train/bach_p3_1_perlman_01.wav 6.89285714286\n",
"../train/bach_p3_1_perlman_06.wav 6.55357142857\n",
"../train/bach_p3_1_perlman_05.wav 5.17857142857\n"
"../train/lady_madonna_crop.wav 64.2857142857\n",
"../train/lady_madonna.wav 62.9397590361\n",
"../train/brandenburg3_01.wav 57.91\n",
"../train/brahms_s1_1_perlman_02.wav 50.6964285714\n",
"../train/dont_stop_believin.wav 46.626984127\n",
"../train/konstantine.wav 45.0076335878\n",
"../train/Beethoven_vln_sonata5_Francescatti_01.wav 43.7115384615\n",
"../train/office_theme.wav 42.8313253012\n",
"../train/brahms_s1_1_perlman_03.wav 42.0535714286\n",
"../train/bach_s3_3_szeryng_01.wav 41.8928571429\n",
"../train/bach_p3_1_heifetz_01.wav 40.125\n",
"../train/Beethoven_vln_sonata5_Zukerman_01.wav 40.0377358491\n",
"../train/bach_p3_1_perlman_01.wav 39.6964285714\n",
"../train/brahms_s1_1_perlman_05.wav 37.6785714286\n",
"../train/brahms_s1_1_perlman_04.wav 37.4107142857\n",
"../train/brahms_rhapsody_02.wav 37.2\n",
"../train/Bach Vln Partita3 - Milstein 1955 - 03.wav 37.1609195402\n",
"../train/brahms_rhapsody_01.wav 36.578313253\n",
"../train/Beethoven_vln_sonata5_Zukerman_04.wav 36.0344827586\n",
"../train/bach_s3_3_szeryng_05.wav 35.8214285714\n",
"../train/bach_p3_1_heifetz_04.wav 34.3392857143\n",
"../train/Beethoven_vln_sonata5_Zukerman_02.wav 33.8208955224\n",
"../train/bach_p3_1_heifetz_02.wav 33.2321428571\n",
"../train/Beethoven_vln_sonata5_Francescatti_05.wav 33.0862068966\n",
"../train/bach_p3_1_heifetz_05.wav 32.8928571429\n",
"../train/Bach Vln Partita3 - Fischbach 2004 - 03.wav 32.6033519553\n",
"../train/Beethoven_vln_sonata5_Oistrakh_01.wav 32.4561403509\n",
"../train/Beethoven_vln_sonata5_Francescatti_02.wav 31.546875\n",
"../train/Beethoven_vln_sonata5_Oistrakh_04.wav 31.3928571429\n",
"../train/Beethoven_vln_sonata5_Francescatti_03.wav 31.0\n",
"../train/Beethoven_vln_sonata5_Zukerman_03.wav 30.4166666667\n",
"../train/moonlight.wav 30.36\n",
"../train/Beethoven_vln_sonata5_Francescatti_04.wav 29.641509434\n",
"../train/bach_s3_3_szeryng_02.wav 29.0892857143\n",
"../train/Bach Vln Partita3 - Milstein 1955 - 01.wav 28.8102564103\n",
"../train/Bach Vln Partita3 - Fischbach 2004 - 01.wav 28.6977777778\n",
"../train/bach_p3_1_perlman_02.wav 28.4285714286\n",
"../train/Beethoven_vln_sonata5_Oistrakh_05.wav 28.3181818182\n",
"../train/Beethoven_vln_sonata5_Zukerman_05.wav 26.6666666667\n",
"../train/bach_s3_3_szeryng_04.wav 26.5535714286\n",
"../train/Beethoven_vln_sonata5_Oistrakh_02.wav 26.4444444444\n",
"../train/bach_p3_1_perlman_05.wav 26.4107142857\n",
"../train/bach_p3_1_perlman_06.wav 26.0\n",
"../train/bach_p3_1_perlman_04.wav 25.6428571429\n",
"../train/bach_p3_1_heifetz_03.wav 25.3928571429\n",
"../train/bach_p3_1_perlman_03.wav 24.9464285714\n",
"../train/brahms_s1_1_perlman_01.wav 24.6785714286\n",
"../train/bach_s3_3_szeryng_03.wav 23.7678571429\n",
"../train/bach_s3_3_szeryng_06.wav 23.5178571429\n",
"../train/Bach Vln Sonata1 - Fischbach 2004 - 02.wav 23.4891774892\n",
"../train/Beethoven_vln_sonata5_Oistrakh_03.wav 23.0909090909\n",
"../train/Bach Vln Sonata1 - Milstein 1954 - 02.wav 22.6527777778\n",
"../train/brahms_s1_1_perlman_06.wav 17.8035714286\n"
]
}
],
"prompt_number": 12
"prompt_number": 40
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 38
}
],
"metadata": {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment