Andy Eschbacher
3174b8797c
small refactoring
2018-03-05 11:36:10 -05:00
Andy Eschbacher
5b0e75f1d3
moves to unclaimed number
2018-03-02 09:05:11 -05:00
Andy Eschbacher
39bb6884a3
Merge branch 'develop' into spatial_lag
2018-03-02 09:00:40 -05:00
Rafa de la Torre
a1198627b5
Release 0.7.0
2018-02-23 15:45:12 +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
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
09255b586b
Merge branch 'develop' into spatial_lag
2018-01-10 12:13:38 -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
32bb3b1276
adds missing decorator for gwr_predict
2018-01-09 11:37:27 -05:00
Andy Eschbacher
b4ddfa1c5b
Merge branch 'develop' into add-errors-on-null-only
2018-01-09 10:30:50 -05:00
Andy Eschbacher
77e73dbc75
updates error syntax
2018-01-09 10:23:38 -05:00
Raul Marin
0d840b65f0
Release 0.6.1
2017-11-23 10:07:52 +01:00
Raul Marin
cf46633f24
Makefile: Strip PARALLEL tags on deploy
...
Since releases are commited into the proyect instead of stripping the labels
when generating the release file, we need to do it before deploying (depending
on the PG release)
2017-11-23 10:07:52 +01:00
Raul Marin
67dbdc6a59
Categorize GWR sql functions
2017-11-23 10:07:52 +01:00
Raul Marin
5472bc71c6
Avoid regress error with exceptions under some verbosity levels
2017-11-23 10:07:52 +01:00
Raul Marin
e1fd016ef1
Add PARALLEL and VOLATILE categories to PG functions
2017-11-23 10:07:52 +01:00
Raul Marin
3273afeb76
Makefile: Add support for PARALLEL categories
2017-11-23 10:07:52 +01:00
Andy Eschbacher
a3c30c5f48
release files for 0.6.0
2017-11-08 13:57:21 -05:00
Javier Goizueta
44511682bc
Merge branch 'develop' into test-travis-fix
2017-11-03 15:12:29 +01:00
Andy Eschbacher
2dafc0f80e
Merge branch 'master' into taylor_oshan-pysal_gwr
2017-11-02 15:38:54 -04:00
Raul Marin
1dc93284f8
PG test: Make the extension tests version agnostic
2017-10-31 11:38:20 +01:00
Raul Marin
5b30783c04
PG regress: Order the tests
...
Avoids an issue where some tests were run before the setup
2017-10-31 11:38:20 +01:00
Raul Marin
bd2b190643
Add PIP and NOSETESTS as variables to Makefile.global
...
This makes it easier to change between pip/pip2 depending on the local environment
2017-10-31 11:38:20 +01:00
Rafa de la Torre
ce5d1f9e86
Release 0.5.2
2017-05-12 17:26:41 +02:00
abelvm
7f5edb26b0
fixed corner case
2017-03-28 14:13:49 +02:00
abelvm
00327e6de2
fixed indexing
2017-03-28 13:38:21 +02:00
abelvm
c252c18adc
fixed indexing
2017-03-28 13:32:10 +02:00
abelvm
3bfdb8d3cc
Merge branch 'develop' of github.com:CartoDB/crankshaft into add-PIA
2017-03-28 13:03:01 +02:00
abelvm
47251daa5f
fixed corner case centroid=PIA
2017-03-28 13:02:37 +02:00
mehak-sachdeva
ac1dbf95c6
added sql tests for spatial lag
2017-03-10 14:41:44 -05:00
mehak-sachdeva
3685b885df
adding spatial lag function, tests and changing data provider name in moran test
2017-03-10 11:50:29 -05:00
mehak-sachdeva
d764f7446f
adding the spatial lag function
2017-03-09 09:39:22 -05:00
mehak-sachdeva
d500212426
typo
2017-03-04 08:53:56 -05:00
mehak-sachdeva
b8ee54ea2c
creating the spatial lag function
2017-03-04 08:49:50 -05:00
Raul Ochoa
d07822c7a0
Fix missing comma for dict creation
2017-02-27 12:07:41 +01:00
abelvm
d8604f3c9b
agg set error fix
2017-01-18 21:40:36 +01:00
abelvm
e03c3eece2
semi colon fix
2017-01-18 21:32:42 +01:00