Closed t0mst0ne closed 8 years ago
@twiecki Thanks for the example and talks on pydata 2016 I tried to run bayesian_neural_network.v3.ipynb but I got this error :
contour = ax.contourf(*grid, ppc['out'].mean(axis=0).reshape(100, 100), cmap=cmap)
SyntaxError: only named arguments may follow *expression
Is it the python2.7 problem ?
=> Oh yes, its unpacking in python2.7 contour = ax.contourf(grid[0],grid[1], ppc['out'].mean(axis=0).reshape(100, 100), cmap=cmap) solve my question
@twiecki
Thanks for the example and talks on pydata 2016 I tried to run bayesian_neural_network.v3.ipynb but I got this error :
contour = ax.contourf(*grid, ppc['out'].mean(axis=0).reshape(100, 100), cmap=cmap)
SyntaxError: only named arguments may follow *expression
Is it the python2.7 problem ?
=> Oh yes, its unpacking in python2.7 contour = ax.contourf(grid[0],grid[1], ppc['out'].mean(axis=0).reshape(100, 100), cmap=cmap) solve my question