Skip to content

Commit ece47e3

Browse files
roy7ColCarroll
authored andcommitted
Fix indent to allow copy/paste of sample code to work (#3701)
1 parent ca35f4f commit ece47e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/notebooks/bayesian_neural_network_advi.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,10 @@
357357
"def production_step1():\n",
358358
" pm.set_data(new_data={'ann_input': X_test, 'ann_output': Y_test}, model=neural_network)\n",
359359
" ppc = pm.sample_posterior_predictive(trace, samples=500, progressbar=False, model=neural_network)\n",
360-
"\n",
360+
" \n",
361361
" # Use probability of > 0.5 to assume prediction of class 1\n",
362362
" pred = ppc['out'].mean(axis=0) > 0.5\n",
363-
" \n",
363+
"\n",
364364
"def production_step2():\n",
365365
" sample_proba(X_test, 500).mean(0) > 0.5"
366366
]

0 commit comments

Comments
 (0)