fix paths; fix query

This commit is contained in:
Andy Eschbacher
2016-11-28 20:10:51 +00:00
parent 6f400ee2b7
commit b399e883ad
3 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ CDB_GWR(subquery text, dep_var text, ind_vars text[],
RETURNS table(v1 numeric, v2 numeric, v3 numeric, v4 numeric, v5 numeric, v6 numeric, rowid bigint)
AS $$
from crankshaft.regression import gwr
from crankshaft.regression import gwr_cs
return gwr(subquery, dep_var, ind_vars, fixed, kernel)
return gwr_cs.gwr(subquery, dep_var, ind_vars, fixed, kernel)
$$ LANGUAGE plpythonu;