Commit Graph

828 Commits

Author SHA1 Message Date
Raúl Marín
b3c5fd756c Travis with pg12 2019-12-19 13:03:36 +01:00
Raul Marin
dcf4e4beb5 News style: Release 0.8.2 2019-02-08 11:07:42 +01:00
Raúl Marín
cfebe6e854
Merge pull request #212 from Algunenano/develop_11
PG 11 compat
2019-02-08 10:59:06 +01:00
Raul Marin
bce2fc5f1f Release 0.8.2 2019-02-07 18:36:33 +01:00
Raul Marin
54646acc56 PG 11 2019-02-07 18:30:22 +01:00
Rafa de la Torre
698f8e1a60
Merge pull request #208 from lekum/patch-2
Semver with 3 numbers specification
2018-08-17 14:37:04 +02:00
Alejandro Guirao Rodríguez
c86b989527
PostGIS uses 4 numbers 2018-08-17 10:47:01 +02:00
Alejandro Guirao Rodríguez
a24d7861d8
Semver with 3 numbers specification 2018-08-17 10:38:03 +02:00
Rafa de la Torre
3e660a4d5f
Merge pull request #207 from CartoDB/add-carto-package-deps
Add carto-package.json
2018-08-14 17:37:55 +02:00
Rafa de la Torre
7c43596512 Add the python dependencies
As specified in the requirements.txt and setup.py.

They are needed by plpy procedural language, which uses the python
system installation and python modules that must be installed at system
level with their c/c++ bindings.

We have some experience with those: getting a working installation is
easy, but getting it right is not obvious at all.

These are the tested and packages versions, so for the moment I'm
pinning to those.
2018-08-14 17:07:08 +02:00
Rafa de la Torre
19397eec5b Remove the works_with 2018-08-14 17:02:16 +02:00
Rafa de la Torre
87c3fa8fc5 Add carto-package.json
In this case in the `requires` section I considered the minimum versions
the ones used by travis CI scripts.
2018-08-14 15:23:35 +02:00
Andy Eschbacher
8c4057bb7a
Merge pull request #171 from CartoDB/update-segmentation
Refactors segmentation to add analysis provider support
2018-03-15 11:54:35 -04:00
Andy Eschbacher
6260a080a6 adds fuller test suite for segmentation 2018-03-15 11:41:47 -04:00
Andy Eschbacher
bc9cae1a63 Merge branch 'develop' into update-segmentation 2018-03-14 12:28:12 -04:00
Andy Eschbacher
229e4671f7 pep8 syntax 2018-03-14 12:14:17 -04:00
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 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
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 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
6fd3fbcbb7 adds more tests 2018-01-11 15:23:35 -05:00
Andy Eschbacher
7eeb7faf13 Merge branch 'develop' into update-segmentation 2018-01-11 14:28:13 -05:00
Andy Eschbacher
dc711d195f syntax updates 2018-01-11 12:49:42 -05: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