Mercurial > hg > plosone_underreview
diff notebooks/test_music_segments.ipynb @ 63:b0e194bfb71d branch-tests
minor edits on server
author | mpanteli <m.x.panteli@gmail.com> |
---|---|
date | Thu, 21 Sep 2017 17:35:57 +0100 |
parents | 90f8a2ea6f6f |
children |
line wrap: on
line diff
--- a/notebooks/test_music_segments.ipynb Thu Sep 21 15:25:20 2017 +0100 +++ b/notebooks/test_music_segments.ipynb Thu Sep 21 17:35:57 2017 +0100 @@ -27,7 +27,21 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 25, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "# verify on the 30-second segments\n", + "filenames = ['/import/c4dm-04/mariap/train_data_melodia_8_30sec.pickle',\n", + " '/import/c4dm-04/mariap/val_data_melodia_8_30sec.pickle', \n", + " '/import/c4dm-04/mariap/test_data_melodia_8_30sec.pickle']" + ] + }, + { + "cell_type": "code", + "execution_count": 26, "metadata": { "collapsed": true }, @@ -45,7 +59,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 27, "metadata": { "collapsed": true }, @@ -146,7 +160,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 28, "metadata": {}, "outputs": [ { @@ -181,7 +195,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 29, "metadata": {}, "outputs": [ { @@ -189,10 +203,10 @@ "output_type": "stream", "text": [ "n tracks: 2068\n", - "mean 134.338008\n", - "median 163.000000\n", - "std 44.855790\n", - "mean duration 67.169004\n" + "mean 42.459381\n", + "median 44.000000\n", + "std 6.567739\n", + "mean duration 21.229691\n" ] } ], @@ -209,6 +223,66 @@ }, { "cell_type": "code", + "execution_count": 12, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "8089" + ] + }, + "execution_count": 12, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "6147+1942" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "8099" + ] + }, + "execution_count": 18, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "6119+1980" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "8200" + ] + }, + "execution_count": 24, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "6132+2068" + ] + }, + { + "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true