Andy Eschbacher
2048db33fc
avoids accuracy calculation without model being defined
2018-03-22 13:12:17 -04:00
Andy Eschbacher
9a5ab17240
replaces petname with uuid for now
2018-03-22 11:01:39 -04:00
Andy Eschbacher
65be9befb1
faux release for staging testing
2018-03-22 10:19:29 -04:00
Andy Eschbacher
e8a601e945
adds model module [ci skip]
2018-03-16 16:45:39 -04:00
Andy Eschbacher
c2be340c07
prototype of model writing
2018-03-16 16:21:00 -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
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
ba875bc50b
creates new functions which expose spatial lag
2018-02-27 13:40:28 -05: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
068f43de10
adds test for exception if no data is present
2018-01-09 15:45:03 -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
001062f660
adds inertia as an output column
2018-01-09 13:02:55 -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
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
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
mehak-sachdeva
e2ed5cefc4
tests passing
2017-03-13 12:03:07 -04:00
Raul Ochoa
d07822c7a0
Fix missing comma for dict creation
2017-02-27 12:07:41 +01:00
mehak-sachdeva
f6526e6b52
tests
2017-02-26 20:07:28 -05:00
mehak-sachdeva
456e68c9fc
re-edits
2017-02-22 18:01:10 -05:00
mehak-sachdeva
5a46f8da71
modifying failing test
2017-02-22 15:16:18 -05:00
mehak-sachdeva
aa413a8d5a
mitigating test failures
2017-02-14 12:12:53 -05:00
mehak-sachdeva
6b71822d08
cleaning
2017-02-10 09:14:39 -05:00
mehak-sachdeva
baa44781ef
more edits-refactoring
2017-02-08 21:10:01 -05:00
mehak-sachdeva
29a0d810ed
data entry edits
2017-02-05 20:17:28 -05:00
mehak-sachdeva
8c5449cfd0
debugging
2017-02-01 19:16:32 -05:00
mehak-sachdeva
d7bccc1063
more changes
2017-02-01 11:42:58 -05:00
Ubuntu
cbd95fa0a2
test changes
2017-01-31 20:48:56 +00:00
mehak-sachdeva
959747c623
updating according to class
2017-01-31 11:25:27 -05:00
Andy Eschbacher
9c2f68fcaf
edits to clean up code
2017-01-30 22:45:49 -05:00
Andy Eschbacher
ee723aa3dc
updates to function framework
2017-01-30 18:01:14 -05:00
Andy Eschbacher
1f2eb6ccfd
edits of segmentation providers
2017-01-30 17:59:22 -05:00
mehak-sachdeva
cee8967274
refactoring segmentation function
2017-01-30 17:14:20 -05:00
Andy Eschbacher
8e4bbb8a90
add default return value on verify_data wrapper
2017-01-13 14:07:31 -05:00
Andy Eschbacher
be2bf19c0a
removes print line
2017-01-12 17:14:32 -05:00
Andy Eschbacher
ddd69bb457
adds mock error function
2017-01-12 17:12:40 -05:00
Andy Eschbacher
04bd067045
standardizing naming conventions in code
2017-01-12 17:12:09 -05:00
Andy Eschbacher
4b3481b1a6
adds decorators to reduce boilerplate code
2017-01-12 17:03:01 -05:00
Andy Eschbacher
76f5eae928
quote col names
2017-01-12 16:02:27 -05:00
Andy Eschbacher
7322931ca1
classes to inherit from objects
2017-01-12 12:00:36 -05:00