Commit Graph
791 Commits
Author SHA1 Message Date
Andy Eschbacher 8901b24eee Merge pull request #205 from CartoDB/stable
Release 0.8.1 back into develop
2018-03-13 15:35:30 -04:00
Andy Eschbacher 44c9a40108 Merge branch 'master' into stable 2018-03-13 12:32:08 -04:00
Andy Eschbacher 5ee795dc11 adds release files for v0.8.1 0.8.1 2018-03-12 13:17:56 -04:00
Andy Eschbacher 1531350bfe adds new version files 2018-03-12 13:07:13 -04:00
Andy Eschbacher 7cf84133b8 Merge pull request #202 from CartoDB/iss201-add-lag-to-moran-i
creates new moran's i functions which expose spatial lag
0.8.0
2018-03-12 11:21:14 -04:00
Andy Eschbacher b86384bb94 updates news 2018-03-12 11:16:51 -04:00
Andy Eschbacher 7b99a88d5e adds more information to the notes 2018-03-12 10:06:39 -04:00
Andy Eschbacher 3cadc2dd95 minor docs updates 2018-03-01 11:16:42 -05:00
Andy Eschbacher bba6a0f58e updates docs to include new functions and notes deprecation of old ones 2018-03-01 10:40:12 -05:00
Andy Eschbacher f1bd05831b adds more thorough tests 2018-03-01 10:22:29 -05:00
Andy Eschbacher c1ca03e159 adjust tests with new outputs 2018-03-01 09:26:53 -05:00
Andy Eschbacher 7b1ce57abc expand outputs for python moran, adjust existing functions to return
previous values
2018-03-01 09:25:56 -05:00
Andy Eschbacher 0d050a2206 adding more thorough docs 2018-02-27 16:36:08 -05:00
Andy Eschbacher dd32d45422 small pep8/syntax fixes 2018-02-27 16:12:20 -05:00
Andy Eschbacher dcab63f3b3 update deprecated private funcs to return all but spatial lag 2018-02-27 15:36:27 -05:00
Andy Eschbacher 46d3375ea3 adds new private functions 2018-02-27 14:24:26 -05:00
Andy Eschbacher ba875bc50b creates new functions which expose spatial lag 2018-02-27 13:40:28 -05:00
Rafa de la Torre 08d82b08f5 Merge remote-tracking branch 'origin/master' into stable 2018-02-23 17:47:35 +01:00
Rafa de la Torre b547d35882 Added pysal v1.14.3 to release notes 0.7.0 2018-02-23 15:50:25 +01:00
Rafa de la Torre bc763b46e2 Fix 0.7.0 release date 2018-02-23 15:47:44 +01:00
Rafa de la Torre a1198627b5 Release 0.7.0 2018-02-23 15:45:12 +01:00
Rafa de la Torre 58e238b9a5 Remove manual installation of pysal from CI script
This shall not be needed. It may conflict with the version specified in
the setup.py and the requirements.txt files.
2018-02-22 18:17:35 +01:00
Rafa de la Torre 979e18c845 Merge pull request #198 from CartoDB/upgrade-pysal-1.14.3
Upgrade pysal to version 1.14.3
2018-02-22 17:58:52 +01:00
Rafa de la Torre 4a81710749 Upgrade pysal to version 1.14.3
This solves a problem with the Markov analysis. Otherwise, with some
inputs it gives the following error:

```
Analysis A2 failed:
ValueError: operands could not be broadcast together with shapes (5) (3)
```

The stack trace is the following:
```
ERROR:  ValueError: operands could not be broadcast together with shapes (5) (2)
CONTEXT:  Traceback (most recent call last):
  PL/Python function "cdb_spatialmarkovtrend", line 7, in <module>
    return markov.spatial_trend(subquery, time_cols, num_classes, w_type, num_ngbrs, permutations, geom_col, id_col)
  PL/Python function "cdb_spatialmarkovtrend", line 76, in spatial_trend
  PL/Python function "cdb_spatialmarkovtrend", line 416, in __init__
  PL/Python function "cdb_spatialmarkovtrend", line 498, in _mn_test
  PL/Python function "cdb_spatialmarkovtrend", line 526, in _ssmnp_test
PL/Python function "cdb_spatialmarkovtrend"
```

and here is the line where it actually fails:
https://github.com/pysal/pysal/blob/v1.11.2/pysal/spatial_dynamics/markov.py#L526

In v1.14.3, the `shtest` is opt-in. So this gives us a chance to curate data if we wanted to apply that test, optionally, instead of crashing:

https://github.com/pysal/pysal/blob/v1.14.3/pysal/spatial_dynamics/markov.py#L490
2018-02-22 16:15:52 +01:00
Andy Eschbacher eefb0d7990 Merge pull request #165 from CartoDB/add-PIA
Add multipolygons and geometry collections support to PIA analyssis
2018-01-10 17:10:02 -05:00
Andy Eschbacher 628fd2b839 adds test on multipolygon 2018-01-10 16:45:36 -05:00
Andy Eschbacher 807a5373e8 adds simple test 2018-01-10 16:35:23 -05:00
Andy Eschbacher 2e0a6f7482 Merge branch 'develop' into add-PIA 2018-01-10 15:30:51 -05:00
Andy Eschbacher edb1cb5049 Merge pull request #150 from CartoDB/add-nonspatial-kmeans-w-class-framework
Add nonspatial kmeans w class framework
2018-01-10 13:15:13 -05:00
Andy Eschbacher e5285a2700 adds parallel marker for plpgsql function 2018-01-10 10:57:51 -05:00
Andy Eschbacher 068f43de10 adds test for exception if no data is present 2018-01-09 15:45:03 -05:00
Andy Eschbacher 604f20bb21 grrr adds comments to test expectation 2018-01-09 15:22:14 -05:00
Andy Eschbacher cfd988c338 uses exact same query text for expectation 2018-01-09 15:14:38 -05:00
Andy Eschbacher 04f290cbad finalizes test query 2018-01-09 15:06:44 -05:00
Andy Eschbacher 18fbc2fa9e updates sql query / fixes error 2018-01-09 14:39:24 -05:00
Andy Eschbacher b0e3f38f1e correctly finds the number of columns 2018-01-09 14:28:20 -05:00
Andy Eschbacher b16c73f7d0 Merge branch 'develop' into add-nonspatial-kmeans-w-class-framework 2018-01-09 13:47:29 -05:00
Andy Eschbacher 20104c2df9 adds sql tests for nonspatial kmeans 2018-01-09 13:35:00 -05:00
Andy Eschbacher 49a317ae8e syntax updates / consistency 2018-01-09 13:29:36 -05:00
Andy Eschbacher 001062f660 adds inertia as an output column 2018-01-09 13:02:55 -05:00
Andy Eschbacher 5e0fbf0f6f syntax updates 2018-01-09 13:02:41 -05:00
Andy Eschbacher e5a03fce82 Merge pull request #157 from CartoDB/add-errors-on-null-only
catch empty return values and error on them
2018-01-09 11:46:41 -05:00
Andy Eschbacher 32bb3b1276 adds missing decorator for gwr_predict 2018-01-09 11:37:27 -05:00
Andy Eschbacher 72260d02aa Merge branch 'develop' into add-errors-on-null-only 2018-01-09 11:34:23 -05:00
Andy Eschbacher 65c7841a7a Merge pull request #179 from CartoDB/update-moran-docs
Update moran docs
2018-01-09 11:30:45 -05:00
Andy Eschbacher d89e07328e Merge branch 'develop' into update-moran-docs 2018-01-09 11:24:36 -05:00
Andy Eschbacher 4ece712cae Merge pull request #155 from CartoDB/update-markov-docs-null
adds caveats about usage
2018-01-09 11:22:10 -05:00
Andy Eschbacher 8bbfac0dbc removes redundant notes section 2018-01-09 11:17:09 -05:00
Andy Eschbacher 200c3da3cb adds better intro and placement for notes 2018-01-09 11:08:35 -05:00
Andy Eschbacher 83048cdf72 Merge branch 'develop' into update-markov-docs-null 2018-01-09 10:54:09 -05:00