Release Notes for PySAL2.0rc1

For starters, these change notes are only for this release candidate, which is like a typical release of PySAL, but considered a preview. This release candidate, 2.0rc1, signifies that our API will change (the 2.0 part) and that we want to ensure users can opt-in to these changes with a longer time delay than a usual release (the rc1 part). We will make a full release of PySAL 2.0 by 2018-12-31, which will largely follow the API reorganization in this release candidate (and any subsequent release candidates). For more information on how to migrate to the 2.0-API, please check out migrating.pysal.org.

Feature Changes in 2.0rc1

This release, we've had a ton of activity in PySAL, but it has all been conducted in our subpackages, the independently-released components of our library. Because it is too onerous to list all the changes to the API here, please consult the migrating.pysal.org website for a detailed discussion of all reorganization-related changes. This document will focus only on improvements to functionality, enhancements, and additional modules added to 2.0rc1, over and above the last stable release of the 1.0 series, PySAL 1.14.4.

Overall, there were 719 commits that closed 240 issues, together with 105 pull requests across 12 packages since our last release on 2017-11-03.

Entirely New Packages

For starters, we've added some entirely-new subpackages to this release candidate:

  • mgwr, the multi-scale Geographically-weighted regression package for Python.

    Don't worry, mgwr fits single-scale geographically-weighted regressions, too. Geographically-weighted regression is a kind of generalized additive model that uses kernel functions in the geographic area around each observation to predict outcomes at that area more accuratly, kind of like Gaussian Process regression for geographic data.

  • spvcm, for spatially-correlated multilevel models.

    Spatially-correlated multilevel models are models that allow for random effects of nearby areas, regions, or groups to be correlated with one another. This is a Gibbs sampling framework plus diagnostics & plotting tools for general Bayesian analysis of Gibbs samplers. The package also contains simple tools to implement new samplers on top of the infrastructure provided, which is fast, parallel, serializable, iterative-write, and interruptible.

  • spint, for estimating spatial interaction models, such as the production-constrained or consumption-constrained gravity models.

  • spglm, a package for fitting sparse GLMs, focused on performance over sparse categorical data.

  • splot, for spatial vizualization in Python, built on top of the excellent geopandas. This is headed by our Google Summer of Code (2018) student, Stefanie Lumnitz, and will be ongoing throughout the release candidate maturation cycle.

  • pointpats, a package for the statistical analysis of point patterns, geographical colocation, and dispersion.

Significant Enhancements to Existing Packages

We've also had a ton of activity adding new features in our submodules:

Contributor Statistics

Below, you'll find some contribution statistics from users, how active each subpackage is, and how active users are within each subpackage:

Developer commits

commits
Dani Arribas-Bel 20
Eli Knaap 7
Hu Shao 2
James Gaboardi 10
Jsignell 1
Levi John Wolf 140
Serge Rey 96
Stefanie Lumnitz 157
Taylor Oshan 85
Thequackdaddy 1
Wei Kang 67
Ziqi Li 52

Subpackage Activity

package commits total issues pulls
mgwr 165 22 7
splot 163 30 14
libpysal 161 76 35
giddy 94 43 19
spreg 32 11 5
spint 21 12 6
spglm 20 10 5
spvcm 20 3 1
pointpats 15 8 4
spaghetti 10 8 2
esda 9 13 5
inequality 7 2 1
mapclassify 2 2 1

Committers by Subpackage

Dani Arribas-Bel Eli Knaap Hu Shao James Gaboardi Jsignell Levi John Wolf Serge Rey Stefanie Lumnitz Taylor Oshan Thequackdaddy Wei Kang Ziqi Li
lib.libpysal 19 5 0 2 0 73 48 2 4 0 8 0
explore.esda 0 0 0 0 0 4 5 0 0 0 0 0
explore.pointpats 0 0 2 0 0 7 2 0 0 0 4 0
explore.spaghetti 0 0 0 8 0 2 0 0 0 0 0 0
dynamics.giddy 0 2 0 0 0 1 18 8 0 0 55 0
viz.mapclassify 0 0 0 0 0 1 1 0 0 0 0 0
viz.splot 1 0 0 0 1 8 5 147 0 1 0 0
model.gwr 0 0 0 0 0 5 0 0 46 0 0 52
model.spglm 0 0 0 0 0 1 0 0 19 0 0 0
model.spint 0 0 0 0 0 5 0 0 16 0 0 0
model.spreg 0 0 0 0 0 13 17 0 0 0 0 0
model.spvcm 0 0 0 0 0 20 0 0 0 0 0 0
tags: pysal, changelog, release candidate, spatial statistics, statistics, networks, graphs
Select a repo