changing to new crankshaft format

This commit is contained in:
Stuart Lynn 2016-06-20 17:27:37 -04:00
parent 59d50a1c48
commit 79699cd5cb
4 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
CREATE OR REPLACE FUNCTION CREATE OR REPLACE FUNCTION
cdb_create_segment ( CDB_CreateSegment (
segment_name TEXT, segment_name TEXT,
table_name TEXT, table_name TEXT,
column_name TEXT, column_name TEXT,
@ -14,7 +14,7 @@ AS $$
$$ LANGUAGE plpythonu; $$ LANGUAGE plpythonu;
CREATE OR REPLACE FUNCTION CREATE OR REPLACE FUNCTION
cdb_correlated_variables( CDB_CorrelatedVariables(
query text, query text,
geoid_column text DEFAULT 'geoid', geoid_column text DEFAULT 'geoid',
census_table text DEFAULT 'ml_learning_block_groups_clipped' census_table text DEFAULT 'ml_learning_block_groups_clipped'
@ -26,7 +26,7 @@ AS $$
$$ LANGUAGE plpythonu; $$ LANGUAGE plpythonu;
CREATE OR REPLACE FUNCTION CREATE OR REPLACE FUNCTION
cdb_predict_segment ( CDB_PredictSegment (
segment_name TEXT, segment_name TEXT,
geoid_column TEXT DEFAULT 'geoid', geoid_column TEXT DEFAULT 'geoid',
census_table TEXT DEFAULT 'block_groups' census_table TEXT DEFAULT 'block_groups'
@ -40,7 +40,7 @@ $$ LANGUAGE plpythonu;
CREATE OR REPLACE FUNCTION CREATE OR REPLACE FUNCTION
cdb_create_and_predict_segment ( CDB_CreateAndPredictSegment (
segment_name TEXT, segment_name TEXT,
query TEXT, query TEXT,
target_table TEXT, target_table TEXT,

View File

@ -1,2 +1,3 @@
import random_seeds import random_seeds
import clustering import clustering
import segmentation