notebooks
notebooks copied to clipboard
jupyter/ipython notebooks demonstrating PySAL functionality
I noticed that most packages have a static image in their `README.md` which is not rendered in the notebook book. I suppose due to the images not being imported in...
As suggested by @knaaptime on #76: > is it possible to reorder the chapters so they follow the same outline described here (lib -> explore -> viz -> model) ?
here's a start on the intro. my intent was to describe a bit of the motivation for the book project and use serge's paper to give a bit of background...
[Sparse Categorical Speed](https://hub.gke.mybinder.org/user/darribas-notebooks-fynsd71b/notebooks/docs/content/model/spint/sparse_categorical_speed.ipynb) ``` x = np.arange(25, 250, 25) plt.plot(x, spcat1, x, spcat1a, x, spcat1b, x, spcat2) plt.legend(('spcat1', 'spcat1a', 'spcat1b', 'spcat2')) plt.title('Speed of Sparse Dummy Functions') plt.xlabel('Sample Size') plt.ylabel('Seconds') ```...
https://pysal.readthedocs.io/en/latest/developers/index.html 
[Sparse Categorical Speed](https://hub.gke.mybinder.org/user/darribas-notebooks-fynsd71b/notebooks/docs/content/model/spint/sparse_categorical_speed.ipynb) ``` spcat1a = [] for n in np.arange(25,250,25): o = np.tile(np.arange(n),n) s = dt.now() b = spcategorical1a(np.array(o)) e = dt.now() spcat1a.append((e-s).total_seconds()) ``` ``` --------------------------------------------------------------------------- NameError Traceback (most...
[sparse_scipy_optim](https://hub.gke.mybinder.org/user/darribas-notebooks-9rhfbljb/notebooks/docs/content/model/spint/sparse_scipy_optim.ipynb) ``` def poiss_loglike(x, data, a): print x return -np.sum(data*np.log(x)-x)*a params = sc.fmin(poiss_loglike, 0, args=(data ,1)) print params ``` ``` File "", line 2 print x ^ SyntaxError: Missing parentheses...
many of our recent workshops link directly to a github repository where the source for the workshop is stored. However, @thedatalass correctly notes that this is very alienating for many...
http://nbviewer.jupyter.org/gist/jGaboardi/a671d31a796e06d9df669d018d5b66ba @jGaboardi