Created
March 21, 2013 16:57
-
-
Save fonnesbeck/5214637 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"# Cox regression in PyMC\n", | |
"\n", | |
"This example implements the Cox model using the counting process notation introduced by Andersen and Gill (1982) " | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"import numpy as np" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [], | |
"prompt_number": 5 | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"### Leukemia data" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"# Survival times in weeks\n", | |
"obs_t = (1, 1, 2, 2, 3, 4, 4, 5, 5, 8, 8, 8, 8, 11, 11, 12, 12, 15, 17, 22, 23, 6, \n", | |
" 6, 6, 6, 7, 9, 10, 10, 11, 13, 16, 17, 19, 20, 22, 23, 25, 32, 32, 34, 35)\n", | |
"# Failure (1) or censored (0)\n", | |
"fail = (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, \n", | |
" 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0)\n", | |
"# Indicators for placebo or treatment\n", | |
"Z = (0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, \n", | |
" 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, \n", | |
" -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5)\n", | |
"# Unique failure times\n", | |
"t = (1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 15, 16, 17, 22, 23, 35)\n", | |
"N = len(obs_t)\n", | |
"T = len(t) - 1" | |
], | |
"language": "python", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "subslide" | |
} | |
}, | |
"outputs": [], | |
"prompt_number": 6 | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"Calculate risk set" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"Y = np.array([[int(obs >= time) for time in t] for obs in obs_t])" | |
], | |
"language": "python", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "fragment" | |
} | |
}, | |
"outputs": [], | |
"prompt_number": 7 | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"Counting process. Jump = 1 if $\\text{obs}_t \\in [ t_j, t_{j+1} )$" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"dN = np.array([[Y[i,j]*(t[j+1] >= obs_t[i])*fail[i] for i in range(N)] for j in range(T)])" | |
], | |
"language": "python", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "fragment" | |
} | |
}, | |
"outputs": [], | |
"prompt_number": 8 | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"Model using Poisson trick:" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"from pymc import Normal, Lambda, Poisson, MCMC\n", | |
"\n", | |
"beta0 = Normal('beta0', 0, 0.001, value=np.zeros(T))\n", | |
"beta1 = Normal('beta1', 0, 0.00001, value=0)\n", | |
"\n", | |
"# Poisson trick: independent log-normal hazard increments\n", | |
"Idt = Lambda('Idt', lambda b0=beta0, b1=beta1: [[Y[i,j]*np.exp(b0[j] + b1*Z[i]) for i in range(N)] for j in range(T)])\n", | |
"\n", | |
"# Likelihood\n", | |
"dN_like = Poisson('dN_like', Idt, value=dN, observed=True)" | |
], | |
"language": "python", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "fragment" | |
} | |
}, | |
"outputs": [], | |
"prompt_number": 9 | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"Initialize MCMC sampler." | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"M = MCMC([beta0, beta1, Idt, dN_like])" | |
], | |
"language": "python", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "fragment" | |
} | |
}, | |
"outputs": [], | |
"prompt_number": 12 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"M.sample(10000, burn=5000)" | |
], | |
"language": "python", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "fragment" | |
} | |
}, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [ 0% ] 31 of 10000 complete in 0.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [ 0% ] 64 of 10000 complete in 1.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [ 0% ] 97 of 10000 complete in 1.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [ 1% ] 128 of 10000 complete in 2.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [ 1% ] 163 of 10000 complete in 2.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [ 1% ] 198 of 10000 complete in 3.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [ 2% ] 233 of 10000 complete in 3.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [- 2% ] 269 of 10000 complete in 4.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [- 3% ] 304 of 10000 complete in 4.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [- 3% ] 339 of 10000 complete in 5.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [- 3% ] 371 of 10000 complete in 5.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [- 4% ] 407 of 10000 complete in 6.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [- 4% ] 442 of 10000 complete in 6.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [- 4% ] 473 of 10000 complete in 7.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [- 5% ] 508 of 10000 complete in 7.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-- 5% ] 543 of 10000 complete in 8.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-- 5% ] 578 of 10000 complete in 8.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-- 6% ] 613 of 10000 complete in 9.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-- 6% ] 645 of 10000 complete in 9.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-- 6% ] 680 of 10000 complete in 10.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-- 7% ] 715 of 10000 complete in 10.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-- 7% ] 750 of 10000 complete in 11.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-- 7% ] 785 of 10000 complete in 11.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--- 8% ] 820 of 10000 complete in 12.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--- 8% ] 844 of 10000 complete in 12.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--- 8% ] 875 of 10000 complete in 13.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--- 9% ] 908 of 10000 complete in 13.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--- 9% ] 940 of 10000 complete in 14.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--- 9% ] 969 of 10000 complete in 14.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--- 9% ] 996 of 10000 complete in 15.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--- 10% ] 1016 of 10000 complete in 15.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--- 10% ] 1038 of 10000 complete in 16.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 10% ] 1058 of 10000 complete in 16.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 10% ] 1078 of 10000 complete in 17.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 11% ] 1101 of 10000 complete in 17.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 11% ] 1121 of 10000 complete in 18.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 11% ] 1145 of 10000 complete in 18.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 11% ] 1172 of 10000 complete in 19.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 11% ] 1196 of 10000 complete in 19.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 12% ] 1220 of 10000 complete in 20.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 12% ] 1254 of 10000 complete in 20.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---- 12% ] 1287 of 10000 complete in 21.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----- 13% ] 1320 of 10000 complete in 21.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----- 13% ] 1355 of 10000 complete in 22.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----- 13% ] 1389 of 10000 complete in 22.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----- 14% ] 1424 of 10000 complete in 23.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----- 14% ] 1459 of 10000 complete in 24.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----- 14% ] 1495 of 10000 complete in 24.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----- 15% ] 1529 of 10000 complete in 25.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----- 15% ] 1553 of 10000 complete in 25.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 15% ] 1581 of 10000 complete in 26.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 16% ] 1609 of 10000 complete in 26.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 16% ] 1635 of 10000 complete in 27.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 16% ] 1664 of 10000 complete in 27.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 16% ] 1695 of 10000 complete in 28.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 17% ] 1727 of 10000 complete in 28.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 17% ] 1750 of 10000 complete in 29.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 17% ] 1769 of 10000 complete in 29.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 17% ] 1790 of 10000 complete in 30.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 18% ] 1812 of 10000 complete in 30.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------ 18% ] 1832 of 10000 complete in 31.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 18% ] 1852 of 10000 complete in 31.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 18% ] 1870 of 10000 complete in 32.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 18% ] 1893 of 10000 complete in 32.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 19% ] 1918 of 10000 complete in 33.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 19% ] 1942 of 10000 complete in 33.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 19% ] 1971 of 10000 complete in 34.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 20% ] 2002 of 10000 complete in 34.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 20% ] 2035 of 10000 complete in 35.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 20% ] 2063 of 10000 complete in 35.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------- 20% ] 2089 of 10000 complete in 36.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------- 21% ] 2111 of 10000 complete in 36.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------- 21% ] 2139 of 10000 complete in 37.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------- 21% ] 2168 of 10000 complete in 37.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------- 21% ] 2199 of 10000 complete in 38.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------- 22% ] 2233 of 10000 complete in 38.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------- 22% ] 2265 of 10000 complete in 39.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------- 22% ] 2291 of 10000 complete in 39.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------- 23% ] 2321 of 10000 complete in 40.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------- 23% ] 2350 of 10000 complete in 40.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------- 23% ] 2378 of 10000 complete in 41.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------- 24% ] 2406 of 10000 complete in 41.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------- 24% ] 2436 of 10000 complete in 42.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------- 24% ] 2462 of 10000 complete in 42.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------- 24% ] 2490 of 10000 complete in 43.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------- 25% ] 2522 of 10000 complete in 43.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------- 25% ] 2552 of 10000 complete in 44.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------- 25% ] 2581 of 10000 complete in 44.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------- 26% ] 2614 of 10000 complete in 45.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------- 26% ] 2642 of 10000 complete in 45.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------- 26% ] 2671 of 10000 complete in 46.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------- 27% ] 2704 of 10000 complete in 46.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------- 27% ] 2737 of 10000 complete in 47.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------- 27% ] 2769 of 10000 complete in 47.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------- 28% ] 2801 of 10000 complete in 48.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------- 28% ] 2829 of 10000 complete in 48.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------- 28% ] 2859 of 10000 complete in 49.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------- 28% ] 2892 of 10000 complete in 49.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----------- 29% ] 2922 of 10000 complete in 50.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----------- 29% ] 2952 of 10000 complete in 51.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----------- 29% ] 2986 of 10000 complete in 51.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----------- 30% ] 3019 of 10000 complete in 52.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----------- 30% ] 3053 of 10000 complete in 52.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----------- 30% ] 3084 of 10000 complete in 53.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----------- 31% ] 3116 of 10000 complete in 53.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [----------- 31% ] 3150 of 10000 complete in 54.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------ 31% ] 3185 of 10000 complete in 54.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------ 32% ] 3219 of 10000 complete in 55.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------ 32% ] 3254 of 10000 complete in 55.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------ 32% ] 3289 of 10000 complete in 56.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------ 33% ] 3323 of 10000 complete in 56.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------ 33% ] 3358 of 10000 complete in 57.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------ 33% ] 3391 of 10000 complete in 57.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 34% ] 3424 of 10000 complete in 58.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 34% ] 3455 of 10000 complete in 58.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 34% ] 3485 of 10000 complete in 59.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 35% ] 3515 of 10000 complete in 59.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 35% ] 3545 of 10000 complete in 60.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 35% ] 3569 of 10000 complete in 60.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 35% ] 3591 of 10000 complete in 61.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 36% ] 3615 of 10000 complete in 61.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 36% ] 3632 of 10000 complete in 62.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 36% ] 3652 of 10000 complete in 62.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [------------- 36% ] 3676 of 10000 complete in 63.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------------- 37% ] 3702 of 10000 complete in 63.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------------- 37% ] 3728 of 10000 complete in 64.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------------- 37% ] 3758 of 10000 complete in 64.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------------- 37% ] 3787 of 10000 complete in 65.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------------- 38% ] 3818 of 10000 complete in 65.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------------- 38% ] 3847 of 10000 complete in 66.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------------- 38% ] 3877 of 10000 complete in 66.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------------- 38% ] 3899 of 10000 complete in 67.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-------------- 39% ] 3928 of 10000 complete in 67.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------------- 39% ] 3961 of 10000 complete in 68.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------------- 39% ] 3987 of 10000 complete in 68.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------------- 40% ] 4021 of 10000 complete in 69.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------------- 40% ] 4048 of 10000 complete in 69.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------------- 40% ] 4075 of 10000 complete in 70.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------------- 41% ] 4108 of 10000 complete in 70.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------------- 41% ] 4137 of 10000 complete in 71.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------------- 41% ] 4168 of 10000 complete in 71.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [--------------- 41% ] 4199 of 10000 complete in 72.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------------- 42% ] 4232 of 10000 complete in 72.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------------- 42% ] 4267 of 10000 complete in 73.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------------- 43% ] 4302 of 10000 complete in 73.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------------- 43% ] 4336 of 10000 complete in 74.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------------- 43% ] 4369 of 10000 complete in 74.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------------- 44% ] 4403 of 10000 complete in 75.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------------- 44% ] 4438 of 10000 complete in 75.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [---------------- 44% ] 4473 of 10000 complete in 76.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------45% ] 4506 of 10000 complete in 76.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------45% ] 4540 of 10000 complete in 77.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------45% ] 4574 of 10000 complete in 77.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------46% ] 4603 of 10000 complete in 78.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------46% ] 4637 of 10000 complete in 78.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------46% ] 4669 of 10000 complete in 79.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------47% ] 4705 of 10000 complete in 80.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------47% ] 4739 of 10000 complete in 80.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------47% ] 4772 of 10000 complete in 81.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------48% ] 4801 of 10000 complete in 81.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------48% ] 4835 of 10000 complete in 82.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------48% ] 4866 of 10000 complete in 82.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------48% ] 4896 of 10000 complete in 83.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------49% ] 4927 of 10000 complete in 83.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------49% ] 4956 of 10000 complete in 84.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------49% ] 4990 of 10000 complete in 84.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------50% ] 5019 of 10000 complete in 85.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------50% ] 5044 of 10000 complete in 85.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------50% ] 5069 of 10000 complete in 86.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------50% ] 5096 of 10000 complete in 86.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------51% ] 5117 of 10000 complete in 87.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------51% ] 5144 of 10000 complete in 87.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------51% ] 5170 of 10000 complete in 88.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------51% ] 5196 of 10000 complete in 88.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------52% ] 5222 of 10000 complete in 89.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------52% ] 5249 of 10000 complete in 89.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------52% ] 5275 of 10000 complete in 90.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------53% ] 5300 of 10000 complete in 90.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------53% ] 5325 of 10000 complete in 91.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------53% ] 5345 of 10000 complete in 91.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------53% ] 5367 of 10000 complete in 92.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------53% ] 5392 of 10000 complete in 92.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------54% ] 5419 of 10000 complete in 93.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------54% ] 5443 of 10000 complete in 93.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------54% ] 5471 of 10000 complete in 94.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------54% ] 5499 of 10000 complete in 94.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------55% ] 5526 of 10000 complete in 95.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------55%- ] 5551 of 10000 complete in 95.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------55%- ] 5572 of 10000 complete in 96.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------55%- ] 5594 of 10000 complete in 96.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------56%- ] 5620 of 10000 complete in 97.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------56%- ] 5642 of 10000 complete in 97.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------56%- ] 5668 of 10000 complete in 98.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------56%- ] 5689 of 10000 complete in 98.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------57%- ] 5714 of 10000 complete in 99.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------57%- ] 5737 of 10000 complete in 99.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------57%- ] 5765 of 10000 complete in 100.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------57%- ] 5787 of 10000 complete in 100.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------58%-- ] 5812 of 10000 complete in 101.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------58%-- ] 5834 of 10000 complete in 101.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------58%-- ] 5862 of 10000 complete in 102.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------58%-- ] 5885 of 10000 complete in 102.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------59%-- ] 5911 of 10000 complete in 103.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------59%-- ] 5934 of 10000 complete in 103.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------59%-- ] 5955 of 10000 complete in 104.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------59%-- ] 5980 of 10000 complete in 104.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------60%-- ] 6002 of 10000 complete in 105.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------60%-- ] 6024 of 10000 complete in 106.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------60%-- ] 6049 of 10000 complete in 106.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------60%--- ] 6074 of 10000 complete in 107.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------60%--- ] 6098 of 10000 complete in 107.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------61%--- ] 6126 of 10000 complete in 108.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------61%--- ] 6154 of 10000 complete in 108.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------61%--- ] 6181 of 10000 complete in 109.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------62%--- ] 6205 of 10000 complete in 109.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------62%--- ] 6232 of 10000 complete in 110.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------62%--- ] 6257 of 10000 complete in 110.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------62%--- ] 6283 of 10000 complete in 111.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------63%--- ] 6303 of 10000 complete in 111.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------63%---- ] 6325 of 10000 complete in 112.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------63%---- ] 6344 of 10000 complete in 112.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------63%---- ] 6364 of 10000 complete in 113.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------63%---- ] 6384 of 10000 complete in 113.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------64%---- ] 6404 of 10000 complete in 114.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------64%---- ] 6431 of 10000 complete in 114.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------64%---- ] 6454 of 10000 complete in 115.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------64%---- ] 6471 of 10000 complete in 115.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------64%---- ] 6487 of 10000 complete in 116.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------65%---- ] 6507 of 10000 complete in 116.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------65%---- ] 6525 of 10000 complete in 117.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------65%---- ] 6545 of 10000 complete in 117.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------65%---- ] 6561 of 10000 complete in 118.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------65%---- ] 6578 of 10000 complete in 118.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------65%----- ] 6598 of 10000 complete in 119.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------66%----- ] 6619 of 10000 complete in 119.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------66%----- ] 6640 of 10000 complete in 120.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------66%----- ] 6665 of 10000 complete in 120.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------66%----- ] 6689 of 10000 complete in 121.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------67%----- ] 6717 of 10000 complete in 121.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------67%----- ] 6744 of 10000 complete in 122.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------67%----- ] 6771 of 10000 complete in 122.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------67%----- ] 6792 of 10000 complete in 123.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------68%----- ] 6820 of 10000 complete in 123.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------68%----- ] 6841 of 10000 complete in 124.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------68%------ ] 6865 of 10000 complete in 124.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------68%------ ] 6890 of 10000 complete in 125.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------69%------ ] 6912 of 10000 complete in 125.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------69%------ ] 6938 of 10000 complete in 126.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------69%------ ] 6961 of 10000 complete in 126.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------69%------ ] 6987 of 10000 complete in 127.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------70%------ ] 7004 of 10000 complete in 127.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------70%------ ] 7031 of 10000 complete in 128.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------70%------ ] 7058 of 10000 complete in 128.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------70%------ ] 7083 of 10000 complete in 129.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------71%------- ] 7107 of 10000 complete in 129.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------71%------- ] 7135 of 10000 complete in 130.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------71%------- ] 7162 of 10000 complete in 130.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------71%------- ] 7191 of 10000 complete in 131.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------72%------- ] 7217 of 10000 complete in 132.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------72%------- ] 7245 of 10000 complete in 132.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------72%------- ] 7269 of 10000 complete in 133.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------72%------- ] 7296 of 10000 complete in 133.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------73%------- ] 7321 of 10000 complete in 134.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------73%------- ] 7347 of 10000 complete in 134.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------73%-------- ] 7375 of 10000 complete in 135.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------74%-------- ] 7400 of 10000 complete in 135.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------74%-------- ] 7420 of 10000 complete in 136.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------74%-------- ] 7442 of 10000 complete in 136.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------74%-------- ] 7467 of 10000 complete in 137.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------74%-------- ] 7493 of 10000 complete in 137.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------75%-------- ] 7521 of 10000 complete in 138.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------75%-------- ] 7549 of 10000 complete in 138.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------75%-------- ] 7576 of 10000 complete in 139.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------76%-------- ] 7604 of 10000 complete in 139.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------76%--------- ] 7632 of 10000 complete in 140.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------76%--------- ] 7659 of 10000 complete in 140.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------76%--------- ] 7683 of 10000 complete in 141.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------77%--------- ] 7711 of 10000 complete in 141.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------77%--------- ] 7738 of 10000 complete in 142.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------77%--------- ] 7765 of 10000 complete in 142.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------77%--------- ] 7789 of 10000 complete in 143.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------78%--------- ] 7817 of 10000 complete in 143.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------78%--------- ] 7845 of 10000 complete in 144.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------78%--------- ] 7873 of 10000 complete in 144.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------79%---------- ] 7903 of 10000 complete in 145.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------79%---------- ] 7931 of 10000 complete in 145.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------79%---------- ] 7957 of 10000 complete in 146.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------79%---------- ] 7985 of 10000 complete in 146.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------80%---------- ] 8013 of 10000 complete in 147.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------80%---------- ] 8036 of 10000 complete in 147.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------80%---------- ] 8059 of 10000 complete in 148.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------80%---------- ] 8086 of 10000 complete in 148.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------81%---------- ] 8112 of 10000 complete in 149.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------81%---------- ] 8134 of 10000 complete in 149.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------81%----------- ] 8160 of 10000 complete in 150.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------81%----------- ] 8183 of 10000 complete in 150.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------82%----------- ] 8209 of 10000 complete in 151.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------82%----------- ] 8234 of 10000 complete in 151.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------82%----------- ] 8258 of 10000 complete in 152.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------82%----------- ] 8286 of 10000 complete in 152.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------83%----------- ] 8308 of 10000 complete in 153.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------83%----------- ] 8330 of 10000 complete in 154.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------83%----------- ] 8358 of 10000 complete in 154.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------83%----------- ] 8384 of 10000 complete in 155.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------84%----------- ] 8401 of 10000 complete in 155.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------84%----------- ] 8420 of 10000 complete in 156.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------84%------------ ] 8439 of 10000 complete in 156.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------84%------------ ] 8458 of 10000 complete in 157.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------84%------------ ] 8480 of 10000 complete in 157.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------85%------------ ] 8502 of 10000 complete in 158.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------85%------------ ] 8526 of 10000 complete in 158.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------85%------------ ] 8550 of 10000 complete in 159.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------85%------------ ] 8563 of 10000 complete in 159.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------85%------------ ] 8577 of 10000 complete in 160.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------85%------------ ] 8589 of 10000 complete in 160.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------86%------------ ] 8603 of 10000 complete in 161.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------86%------------ ] 8620 of 10000 complete in 161.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------86%------------ ] 8632 of 10000 complete in 162.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------86%------------ ] 8652 of 10000 complete in 162.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------86%------------ ] 8673 of 10000 complete in 163.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------87%------------- ] 8700 of 10000 complete in 163.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------87%------------- ] 8726 of 10000 complete in 164.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------87%------------- ] 8752 of 10000 complete in 164.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------87%------------- ] 8779 of 10000 complete in 165.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------88%------------- ] 8803 of 10000 complete in 165.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------88%------------- ] 8824 of 10000 complete in 166.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------88%------------- ] 8849 of 10000 complete in 166.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------88%------------- ] 8871 of 10000 complete in 167.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------88%------------- ] 8895 of 10000 complete in 167.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------89%------------- ] 8919 of 10000 complete in 168.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------89%------------- ] 8946 of 10000 complete in 168.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------89%-------------- ] 8974 of 10000 complete in 169.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------89%-------------- ] 8994 of 10000 complete in 169.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------90%-------------- ] 9022 of 10000 complete in 170.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------90%-------------- ] 9048 of 10000 complete in 170.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------90%-------------- ] 9076 of 10000 complete in 171.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------91%-------------- ] 9101 of 10000 complete in 171.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------91%-------------- ] 9126 of 10000 complete in 172.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------91%-------------- ] 9152 of 10000 complete in 173.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------91%-------------- ] 9178 of 10000 complete in 173.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------92%-------------- ] 9207 of 10000 complete in 174.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------92%--------------- ] 9234 of 10000 complete in 174.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------92%--------------- ] 9254 of 10000 complete in 175.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------92%--------------- ] 9278 of 10000 complete in 175.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------93%--------------- ] 9305 of 10000 complete in 176.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------93%--------------- ] 9333 of 10000 complete in 176.5 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------93%--------------- ] 9359 of 10000 complete in 177.0 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------93%--------------- ] 9384 of 10000 complete in 177.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------94%--------------- ] 9410 of 10000 complete in 178.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------94%--------------- ] 9435 of 10000 complete in 178.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------94%--------------- ] 9463 of 10000 complete in 179.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------94%---------------- ] 9485 of 10000 complete in 179.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------95%---------------- ] 9508 of 10000 complete in 180.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------95%---------------- ] 9535 of 10000 complete in 180.6 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------95%---------------- ] 9554 of 10000 complete in 181.1 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------95%---------------- ] 9580 of 10000 complete in 181.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------96%---------------- ] 9603 of 10000 complete in 182.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------96%---------------- ] 9630 of 10000 complete in 182.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------96%---------------- ] 9651 of 10000 complete in 183.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------96%---------------- ] 9675 of 10000 complete in 183.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------97%---------------- ] 9702 of 10000 complete in 184.2 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------97%---------------- ] 9726 of 10000 complete in 184.7 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------97%----------------- ] 9752 of 10000 complete in 185.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------97%----------------- ] 9778 of 10000 complete in 185.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------97%----------------- ] 9798 of 10000 complete in 186.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------98%----------------- ] 9820 of 10000 complete in 186.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------98%----------------- ] 9844 of 10000 complete in 187.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------98%----------------- ] 9870 of 10000 complete in 187.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------98%----------------- ] 9893 of 10000 complete in 188.3 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------99%----------------- ] 9917 of 10000 complete in 188.8 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------99%----------------- ] 9936 of 10000 complete in 189.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------99%----------------- ] 9958 of 10000 complete in 189.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------99%----------------- ] 9975 of 10000 complete in 190.4 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------99%----------------- ] 9999 of 10000 complete in 190.9 sec" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\r", | |
" [-----------------100%-----------------] 10000 of 10000 complete in 190.9 sec" | |
] | |
} | |
], | |
"prompt_number": 13 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"M.trace('beta0')()" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"metadata": {}, | |
"output_type": "pyout", | |
"prompt_number": 14, | |
"text": [ | |
"array([[-3.45648129, -0.93242907, -3.76504614, ..., -1.65020221,\n", | |
" -1.04204604, -3.80254949],\n", | |
" [-3.03129361, -0.94656389, -4.09985302, ..., -1.69601693,\n", | |
" -0.86306285, -3.34595103],\n", | |
" [-2.81985925, -0.94104154, -2.65582902, ..., -1.64492766,\n", | |
" -0.7936265 , -3.71599213],\n", | |
" ..., \n", | |
" [-2.23619649, -1.66264799, -3.30862506, ..., -1.91104878,\n", | |
" -0.5040012 , -1.75395984],\n", | |
" [-2.03238709, -1.6622854 , -3.5882551 , ..., -1.90309669,\n", | |
" -0.48624936, -1.88419897],\n", | |
" [-2.47687504, -1.6455667 , -3.6455275 , ..., -1.95423672,\n", | |
" -0.62409622, -1.68187115]])" | |
] | |
} | |
], | |
"prompt_number": 14 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"beta1.summary()" | |
], | |
"language": "python", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "fragment" | |
} | |
}, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"\n", | |
"beta1:\n", | |
" \n", | |
"\tMean SD MC Error 95% HPD interval\n", | |
"\t------------------------------------------------------------------\n", | |
"\t1.214 0.254 0.012 [ 0.726 1.769]\n", | |
"\t\n", | |
"\t\n", | |
"\tPosterior quantiles:\n", | |
"\t\n", | |
"\t2.5 25 50 75 97.5\n", | |
"\t |---------------|===============|===============|---------------|\n", | |
"\t0.72 1.067 1.197 1.374 1.765\n", | |
"\t\n" | |
] | |
} | |
], | |
"prompt_number": 15 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"from pymc import Matplot\n", | |
"\n", | |
"Matplot.plot(beta1)" | |
], | |
"language": "python", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"Plotting beta1\n" | |
] | |
} | |
], | |
"prompt_number": 16 | |
} | |
], | |
"metadata": {} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment