From a84806e820ec80a128ee2b30a331219e4e0023f9 Mon Sep 17 00:00:00 2001 From: Andy Eschbacher Date: Tue, 29 Nov 2016 11:57:11 -0500 Subject: [PATCH] update signature --- src/pg/sql/21_gwr.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg/sql/21_gwr.sql b/src/pg/sql/21_gwr.sql index 2045792..cfabb9b 100644 --- a/src/pg/sql/21_gwr.sql +++ b/src/pg/sql/21_gwr.sql @@ -1,7 +1,7 @@ CREATE OR REPLACE FUNCTION CDB_GWR(subquery text, dep_var text, ind_vars text[], fixed boolean default False, kernel text default 'bisquare') -RETURNS table(v1 numeric, v2 numeric, v3 numeric, v4 numeric, v5 numeric, v6 numeric, rowid bigint) +RETURNS table(coeffs JSON, stand_errs JSON, t_vals JSON, predicted numeric, residuals numeric, r_squared numeric, rowid bigint) AS $$ from crankshaft.regression import gwr_cs