Raul Ochoa
a222341863
Merge pull request #59 from CartoDB/kmeans
...
KMeans clustering and weighted centroid analysis
2016-06-16 12:39:13 +02:00
Andy Eschbacher
4834ee2f42
adding higher numpy version
2016-06-15 11:36:19 -04:00
Andy Eschbacher
bbe22d0b4d
new bounds for accuracy in tests
2016-06-15 11:36:04 -04:00
Rafa de la Torre
75531b671e
Remove virtualenv references from READMEs #60
2016-06-14 18:24:43 +02:00
Rafa de la Torre
0acae8240f
Remove virtualenv stuff from Makefiles #60
2016-06-14 18:23:30 +02:00
Rafa de la Torre
7b98415da3
Remove virtualenv activation #60
2016-06-14 18:06:23 +02:00
abelvm
5a2319db72
remove garbage
2016-06-14 18:01:03 +02:00
abelvm
9db4b7f519
first commit
2016-06-14 17:55:45 +02:00
Raul Ochoa
fd1862167c
Remove trailing space
2016-06-13 13:06:21 +02:00
Raul Ochoa
c870f68c77
Revert "Declare scipy as dep"
...
This reverts commit 1e8bc12e0a
.
2016-06-13 13:05:50 +02:00
Raul Ochoa
1e8bc12e0a
Declare scipy as dep
2016-06-13 12:17:46 +02:00
Raul Ochoa
b33ba2d294
Do not use names for the aggregate params
2016-06-10 18:24:43 +02:00
Raul Ochoa
889cd5c579
Fix scikit-learn dep name
2016-06-10 17:47:46 +02:00
Stuart Lynn
1a4944b960
adding sklearn as a dep
2016-06-10 13:16:16 +00:00
Stuart Lynn
9d3de5a8ef
adding not null filter for geom on kmeans
2016-06-10 13:12:55 +00:00
Stuart Lynn
7f3b23f67a
reworking CDB_WeightedMean to be an aggregate function
2016-06-10 13:06:49 +00:00
Andy Eschbacher
69f08c4b78
updated tests to check for percent diffs
2016-06-08 11:26:32 -04:00
Ubuntu
4e86965f03
KMeans clustering and weighted centroid analysis
2016-06-07 19:58:32 +00:00
Andy Eschbacher
d41e28bc6f
pylint corrections
2016-06-06 09:26:52 -04:00
Andy Eschbacher
1f73be2752
rename functions -> trend
2016-06-06 08:46:13 -04:00
abelvm
5183f5ff92
added function overload with subqueries input
2016-06-03 18:22:26 +02:00
abelvm
73d38bbbaa
filling the gaps
2016-06-03 17:32:39 +02:00
Andy Eschbacher
e7de471ac8
adds expectation values for tests
2016-06-03 11:06:48 -04:00
Andy Eschbacher
14d50facda
adds test that expects all null values returned
2016-06-03 11:06:29 -04:00
Andy Eschbacher
5e8d11fce2
adds fixtures for spatial markov tests
2016-06-03 11:02:51 -04:00
Andy Eschbacher
183a0f9604
comment out unneeded code whch w.transform handles
2016-06-03 11:01:53 -04:00
Andy Eschbacher
fc3a7e3d78
add casting to function call
2016-06-03 11:01:20 -04:00
Stuart Lynn
4782d39849
stubbing out gravity model
2016-06-03 10:36:21 -04:00
Andy Eschbacher
c0dfaa8341
adds test for spatial markov sql function
2016-06-02 16:19:15 -04:00
Andy Eschbacher
edf635886b
updates column name to rowid
2016-06-02 14:19:13 -04:00
Andy Eschbacher
971c8f75d8
Merge branch 'develop' into add-spatial-markov
2016-06-02 12:59:49 -04:00
Andy Eschbacher
54d35c614b
adds tests passing for spatial_markov
2016-06-02 12:52:34 -04:00
Andy Eschbacher
d1a267febb
adding number of classes options
2016-06-02 12:51:01 -04:00
Andy Eschbacher
0eb3db3c1d
adding fixtures
2016-06-02 12:12:52 -04:00
Andy Eschbacher
7a7cbcf33f
adds test for get_time_data
2016-06-02 09:49:09 -04:00
Andy Eschbacher
c04e15ef81
rename some variables
2016-06-01 15:07:16 -04:00
Andy Eschbacher
59c520da16
renaming output value to vals
2016-06-01 13:40:32 -04:00
Andy Eschbacher
90c3e21c0d
renaming output id to rowid
2016-06-01 12:43:33 -04:00
Andy Eschbacher
3013998e1b
make functions more flexible to case of weight type
2016-06-01 12:19:08 -04:00
Andy Eschbacher
2b8adb744d
switched signature to put more common options in the front
2016-06-01 12:09:43 -04:00
Andy Eschbacher
b5c6b42081
update names to align with CamelCase convention
2016-06-01 11:33:02 -04:00
Andy Eschbacher
408e34cd38
newline
2016-05-26 10:53:33 -04:00
Andy Eschbacher
e80fdca7fc
removing time-binning options, reorganizes signature
2016-05-25 12:02:47 -04:00
Andy Eschbacher
fd7aa4140a
change function name to match requirements
2016-05-25 12:01:55 -04:00
Andy Eschbacher
7a1eb6b9b6
adding debug to mock plpy
2016-05-25 11:03:58 -04:00
Andy Eschbacher
1b0d1cc82c
updating function names
2016-05-24 17:51:29 -04:00
Andy Eschbacher
4e870e4393
adapt other test for new settings in fixtures
2016-05-20 15:15:41 -04:00
Andy Eschbacher
b05ad98ed9
adding tests for hot/cold/outlier for normal moran functions
2016-05-20 15:15:19 -04:00
Andy Eschbacher
bc8055a12b
adds pset format unaligned to reduce output for tests
2016-05-20 14:55:16 -04:00
Andy Eschbacher
c3913459d9
adding tests for hotspot, coldspot, and outlier functions
2016-05-20 14:54:42 -04:00
Andy Eschbacher
f571e59a95
adding hot/cold/outlier getters
2016-05-20 14:05:59 -04:00
Andy Eschbacher
c44434ef08
adding fixture for markov testing
2016-04-01 08:24:33 -04:00
Andy Eschbacher
95247f66bb
updating test info
2016-04-01 08:24:09 -04:00
Andy Eschbacher
9ba9d07bb5
building tests for markov
2016-04-01 08:23:46 -04:00
Andy Eschbacher
ef475adc26
testing array outputs
2016-04-01 08:23:10 -04:00
Andy Eschbacher
3294eb35ab
remove if conditions and relying on pysal.W to build weights norms
2016-04-01 08:22:27 -04:00
Andy Eschbacher
693f6a68db
pylint suggested changes
2016-03-31 11:26:33 -04:00
Andy Eschbacher
fd76a509ea
Merge branch 'add-spatial-markov' of https://github.com/CartoDB/crankshaft into add-spatial-markov
2016-03-31 10:29:14 -04:00
Andy Eschbacher
c18baf26d8
adding module refs for pysaul utils
2016-03-31 09:35:10 -04:00
Andy Eschbacher
314d1851db
fix tests for array-based inputs
2016-03-31 09:29:51 -04:00
Andy Eschbacher
6165d5e61e
restructure to accom list of time columns
2016-03-31 09:27:37 -04:00
Andy Eschbacher
7695102500
update error message
2016-03-30 16:10:53 -04:00
Andy Eschbacher
369d1d2f41
pylinting changes
2016-03-30 16:10:53 -04:00
Andy Eschbacher
e32bab3f88
removed pieces for pysal_utils
2016-03-30 16:10:34 -04:00
Andy Eschbacher
cd3790860a
add working version
2016-03-30 16:09:37 -04:00
Andy Eschbacher
1de90a7d39
update output signature
2016-03-30 16:09:37 -04:00
Andy Eschbacher
9535506b93
formated markov sql file a bit
2016-03-30 16:09:37 -04:00
Andy Eschbacher
bae2f04955
update signature used in plpython function
2016-03-30 16:09:37 -04:00
Andy Eschbacher
dc0873cd2b
add types to arrays
2016-03-30 16:09:37 -04:00
Andy Eschbacher
d4621a6e9c
adding passing tests
2016-03-30 16:09:37 -04:00
Andy Eschbacher
9943d4de58
adding markov python code
2016-03-30 16:08:17 -04:00
Andy Eschbacher
8cccb18eed
adding markov functionality
2016-03-30 16:08:17 -04:00
Andy Eschbacher
a0cb699b1a
updated move to pysal-utils
2016-03-30 16:06:44 -04:00
Andy Eschbacher
ea02f36235
adding condition to avoid self-comparison in neighbor queries
2016-03-30 15:37:51 -04:00
Andy Eschbacher
22b6aed7c1
Merge pull request #16 from CartoDB/proof-read-and-gitignore-update
...
Proof read and gitignore update
2016-03-30 12:37:29 -04:00
Andy Eschbacher
02b74813ac
add test for global moran
2016-03-30 12:09:49 -04:00
Andy Eschbacher
4c243bf1d3
correct func signatures
2016-03-30 11:44:44 -04:00
Andy Eschbacher
b0150d4fec
adding tests for pysal_utils
2016-03-30 08:27:14 -04:00
Andy Eschbacher
6bb4f36df5
extracting util code to new submodule
2016-03-30 08:10:35 -04:00
Andy Eschbacher
5a46f65e59
update tests to remove plpy notices
2016-03-30 08:09:48 -04:00
Andy Eschbacher
e56519f599
removed unneded comments, make outputs more consistent
2016-03-29 23:39:29 -07:00
Andy Eschbacher
8dd8ab37a5
refactored from pylint
2016-03-29 22:49:31 -07:00
Andy Eschbacher
06f5cf9951
standarizing error reporting
2016-03-29 12:34:23 -07:00
Andy Eschbacher
bc67ae8f69
changed name of functions for observatory
2016-03-29 12:18:52 -07:00
Andy Eschbacher
2e1b598b4f
pylinting changes
2016-03-25 22:49:29 -04:00
Andy Eschbacher
d398494720
add test case for markov use of functions
2016-03-24 11:34:59 -04:00
Andy Eschbacher
fbc30f1224
add working version
2016-03-24 11:34:28 -04:00
Andy Eschbacher
98c2b11935
update output signature
2016-03-24 11:33:47 -04:00
Andy Eschbacher
491577ed62
formated markov sql file a bit
2016-03-24 08:19:11 -04:00
Andy Eschbacher
68e5e0892c
update signature used in plpython function
2016-03-23 20:46:19 -04:00
Andy Eschbacher
c5a58f97ec
add types to arrays
2016-03-23 15:33:54 -04:00
Andy Eschbacher
42e760b5d1
adding passing tests
2016-03-23 14:50:52 -04:00
Andy Eschbacher
cfb40ddecd
fixes test for moran
2016-03-23 13:01:56 -04:00
Andy Eschbacher
f3673d6f89
updating test for moran output
2016-03-23 12:41:15 -04:00
Andy Eschbacher
c488900c8c
adding markov python code
2016-03-23 12:39:51 -04:00
Andy Eschbacher
b889416947
adding markov functionality
2016-03-23 12:38:44 -04:00
Andy Eschbacher
58cf210e96
fixes test to acomm markov
2016-03-23 12:37:23 -04:00
Andy Eschbacher
1e16b7839b
update methods to acomm markov
2016-03-23 12:35:39 -04:00
Andy Eschbacher
eecbe39547
updating tests
2016-03-22 10:42:44 -04:00
Andy Eschbacher
1578b17eb8
updated function flow without significance
2016-03-22 10:42:06 -04:00
Andy Eschbacher
3eda8ecd16
new signatures for moran (w/o significance)
2016-03-22 10:34:22 -04:00
Andy Eschbacher
9b32918746
fixing cluster query tests
2016-03-21 09:50:57 -04:00
Andy Eschbacher
0aa4d0a50e
typo fixes, linking, etc.
2016-03-21 08:51:10 -04:00
Raul Ochoa
58c141d217
Allow to pass free queries as select * from table limit 100
in moran
2016-03-16 19:40:06 +01:00
Javier Goizueta
5a7d3178dd
Release 0.0.2
...
This version is the first with the new versioning approach
which uses separate per-version Pyhton virtual enironments.
2016-03-16 19:22:21 +01:00
Javier Goizueta
689ec8a925
Change version function from IMMUTABLE to STABLE
...
These functions' results will change when the extension
is updated.
2016-03-16 17:09:50 +01:00
Javier Goizueta
a7e42e93cc
Rename cdb_crankshaft_internal_version as internal function
2016-03-16 16:41:54 +01:00
Javier Goizueta
bad09ffd7b
Remove abandoned alternatives from the documentation
2016-03-16 16:30:03 +01:00
Javier Goizueta
dea6e2f1a7
Refactor the Makefile
...
Separate concerns properly for each subdirectory's Makefile
2016-03-16 15:40:40 +01:00
Javier Goizueta
d13f167d47
Add RELEASE_VERSION option to make deploy
...
Now make deploy installs by default the current version,
but can be made to install any prior specific version using
a environmnt varialbe RELEASE_VERSION
2016-03-16 14:38:18 +01:00
Javier Goizueta
a518034e65
Fix .pyc files need not only be ignored inside src/py
2016-03-16 11:13:26 +01:00
Javier Goizueta
24e4037995
Fix version number of released extension script
2016-03-16 11:11:16 +01:00
Javier Goizueta
82a738fe40
Fix make clean tasks
2016-03-16 10:18:07 +01:00
Javier Goizueta
e801c9cb60
Release tasks using release-specific virtual environments
...
Refine the development process and define the procedure for
releasing new versions.
2016-03-15 18:48:46 +01:00
Javier Goizueta
0206cc6c44
Update documentation
2016-03-10 19:13:46 +01:00
Rafa de la Torre
b754ffe42a
Add info about python dependencies
2016-03-10 18:06:21 +01:00
Javier Goizueta
0056f411b5
Set the path to virtualenvs in the Makefile
...
Also, version the virtualenv
2016-03-09 19:04:21 +01:00
Javier Goizueta
1810f02242
Use SciPy from system package python-scipy
2016-03-09 15:03:17 +01:00
Javier Goizueta
8e972128eb
Modify sql code to user the python virtualenv
2016-03-09 15:00:50 +01:00
Javier Goizueta
cdd2d9e722
Directory reorganization and sketch of new versioning procedure
2016-03-08 19:35:02 +01:00