Mercurial > hg > plosone_underreview
comparison notebooks/sensitivity_experiment.ipynb @ 68:a6606b255ad7 branch-tests
?
author | Maria Panteli |
---|---|
date | Thu, 21 Sep 2017 22:02:42 +0100 |
parents | 98cd5317e504 |
children | 7bed7a5966c1 |
comparison
equal
deleted
inserted
replaced
57:dd86e49ae8bf | 68:a6606b255ad7 |
---|---|
1 { | 1 { |
2 "cells": [ | 2 "cells": [ |
3 { | 3 { |
4 "cell_type": "code", | 4 "cell_type": "code", |
5 "execution_count": 1, | 5 "execution_count": 1, |
6 "metadata": {}, | 6 "metadata": { |
7 "collapsed": false | |
8 }, | |
7 "outputs": [ | 9 "outputs": [ |
8 { | 10 { |
9 "name": "stderr", | 11 "name": "stderr", |
10 "output_type": "stream", | 12 "output_type": "stream", |
11 "text": [ | 13 "text": [ |
45 ] | 47 ] |
46 }, | 48 }, |
47 { | 49 { |
48 "cell_type": "code", | 50 "cell_type": "code", |
49 "execution_count": 5, | 51 "execution_count": 5, |
50 "metadata": {}, | 52 "metadata": { |
53 "collapsed": false | |
54 }, | |
51 "outputs": [ | 55 "outputs": [ |
52 { | 56 { |
53 "data": { | 57 "data": { |
54 "text/plain": [ | 58 "text/plain": [ |
55 "(8396, 108)" | 59 "(8396, 108)" |
66 ] | 70 ] |
67 }, | 71 }, |
68 { | 72 { |
69 "cell_type": "code", | 73 "cell_type": "code", |
70 "execution_count": 48, | 74 "execution_count": 48, |
71 "metadata": {}, | 75 "metadata": { |
76 "collapsed": false | |
77 }, | |
72 "outputs": [ | 78 "outputs": [ |
73 { | 79 { |
74 "name": "stdout", | 80 "name": "stdout", |
75 "output_type": "stream", | 81 "output_type": "stream", |
76 "text": [ | 82 "text": [ |
276 ] | 282 ] |
277 }, | 283 }, |
278 { | 284 { |
279 "cell_type": "code", | 285 "cell_type": "code", |
280 "execution_count": 52, | 286 "execution_count": 52, |
281 "metadata": {}, | 287 "metadata": { |
288 "collapsed": false | |
289 }, | |
282 "outputs": [ | 290 "outputs": [ |
283 { | 291 { |
284 "name": "stdout", | 292 "name": "stdout", |
285 "output_type": "stream", | 293 "output_type": "stream", |
286 "text": [ | 294 "text": [ |
445 ] | 453 ] |
446 }, | 454 }, |
447 { | 455 { |
448 "cell_type": "code", | 456 "cell_type": "code", |
449 "execution_count": 56, | 457 "execution_count": 56, |
450 "metadata": {}, | 458 "metadata": { |
459 "collapsed": false | |
460 }, | |
451 "outputs": [ | 461 "outputs": [ |
452 { | 462 { |
453 "data": { | 463 "data": { |
454 "text/plain": [ | 464 "text/plain": [ |
455 "array([ 59, 1, 1, 1, 1, 733, 733, 733, 733, 733, 733, 733, 733,\n", | 465 "array([ 59, 1, 1, 1, 1, 733, 733, 733, 733, 733, 733, 733, 733,\n", |
468 ] | 478 ] |
469 }, | 479 }, |
470 { | 480 { |
471 "cell_type": "code", | 481 "cell_type": "code", |
472 "execution_count": 8, | 482 "execution_count": 8, |
473 "metadata": {}, | 483 "metadata": { |
484 "collapsed": false | |
485 }, | |
474 "outputs": [ | 486 "outputs": [ |
475 { | 487 { |
476 "data": { | 488 "data": { |
477 "text/html": [ | 489 "text/html": [ |
478 "<div>\n", | 490 "<div>\n", |
727 ] | 739 ] |
728 }, | 740 }, |
729 { | 741 { |
730 "cell_type": "code", | 742 "cell_type": "code", |
731 "execution_count": 47, | 743 "execution_count": 47, |
732 "metadata": {}, | 744 "metadata": { |
745 "collapsed": false | |
746 }, | |
733 "outputs": [ | 747 "outputs": [ |
734 { | 748 { |
735 "name": "stdout", | 749 "name": "stdout", |
736 "output_type": "stream", | 750 "output_type": "stream", |
737 "text": [ | 751 "text": [ |
826 ] | 840 ] |
827 }, | 841 }, |
828 { | 842 { |
829 "cell_type": "code", | 843 "cell_type": "code", |
830 "execution_count": 59, | 844 "execution_count": 59, |
831 "metadata": {}, | 845 "metadata": { |
846 "collapsed": false | |
847 }, | |
832 "outputs": [ | 848 "outputs": [ |
833 { | 849 { |
834 "name": "stdout", | 850 "name": "stdout", |
835 "output_type": "stream", | 851 "output_type": "stream", |
836 "text": [ | 852 "text": [ |
4545 ] | 4561 ] |
4546 }, | 4562 }, |
4547 { | 4563 { |
4548 "cell_type": "code", | 4564 "cell_type": "code", |
4549 "execution_count": null, | 4565 "execution_count": null, |
4550 "metadata": {}, | 4566 "metadata": { |
4567 "collapsed": true | |
4568 }, | |
4551 "outputs": [], | 4569 "outputs": [], |
4552 "source": [ | 4570 "source": [ |
4553 "MAPPER_OUTPUT_FILES = mapper.OUTPUT_FILES\n", | 4571 "MAPPER_OUTPUT_FILES = mapper.OUTPUT_FILES\n", |
4554 "for n in range(n_iters):\n", | 4572 "for n in range(n_iters):\n", |
4555 " print \"iteration %d\" % n\n", | 4573 " print \"iteration %d\" % n\n", |
4571 ] | 4589 ] |
4572 }, | 4590 }, |
4573 { | 4591 { |
4574 "cell_type": "code", | 4592 "cell_type": "code", |
4575 "execution_count": 19, | 4593 "execution_count": 19, |
4576 "metadata": {}, | 4594 "metadata": { |
4595 "collapsed": false | |
4596 }, | |
4577 "outputs": [ | 4597 "outputs": [ |
4578 { | 4598 { |
4579 "name": "stdout", | 4599 "name": "stdout", |
4580 "output_type": "stream", | 4600 "output_type": "stream", |
4581 "text": [ | 4601 "text": [ |
4887 ] | 4907 ] |
4888 }, | 4908 }, |
4889 { | 4909 { |
4890 "cell_type": "code", | 4910 "cell_type": "code", |
4891 "execution_count": 33, | 4911 "execution_count": 33, |
4892 "metadata": {}, | 4912 "metadata": { |
4913 "collapsed": false | |
4914 }, | |
4893 "outputs": [ | 4915 "outputs": [ |
4894 { | 4916 { |
4895 "name": "stdout", | 4917 "name": "stdout", |
4896 "output_type": "stream", | 4918 "output_type": "stream", |
4897 "text": [ | 4919 "text": [ |
4907 ] | 4929 ] |
4908 }, | 4930 }, |
4909 { | 4931 { |
4910 "cell_type": "code", | 4932 "cell_type": "code", |
4911 "execution_count": 34, | 4933 "execution_count": 34, |
4912 "metadata": {}, | 4934 "metadata": { |
4935 "collapsed": false | |
4936 }, | |
4913 "outputs": [ | 4937 "outputs": [ |
4914 { | 4938 { |
4915 "data": { | 4939 "data": { |
4916 "text/plain": [ | 4940 "text/plain": [ |
4917 "SpearmanrResult(correlation=1.0, pvalue=0.0)" | 4941 "SpearmanrResult(correlation=1.0, pvalue=0.0)" |
4951 "file_extension": ".py", | 4975 "file_extension": ".py", |
4952 "mimetype": "text/x-python", | 4976 "mimetype": "text/x-python", |
4953 "name": "python", | 4977 "name": "python", |
4954 "nbconvert_exporter": "python", | 4978 "nbconvert_exporter": "python", |
4955 "pygments_lexer": "ipython2", | 4979 "pygments_lexer": "ipython2", |
4956 "version": "2.7.12" | 4980 "version": "2.7.11" |
4957 } | 4981 } |
4958 }, | 4982 }, |
4959 "nbformat": 4, | 4983 "nbformat": 4, |
4960 "nbformat_minor": 1 | 4984 "nbformat_minor": 1 |
4961 } | 4985 } |