data entry edits

This commit is contained in:
mehak-sachdeva 2017-02-05 20:17:28 -05:00
parent 8c5449cfd0
commit 29a0d810ed
2 changed files with 1 additions and 1 deletions

View File

@ -77,6 +77,7 @@ class AnalysisDataProvider(object):
"target": variable, "target": variable,
"features": feature_columns} "features": feature_columns}
""" """
columns = ', '.join(['array_agg("{col}") As "{col}"'.format(col=col) columns = ', '.join(['array_agg("{col}") As "{col}"'.format(col=col)
for col in params['features']]) for col in params['features']])
query = ''' query = '''

View File

@ -63,7 +63,6 @@ class SegmentationTest(unittest.TestCase):
self.assertTrue(assert_array_equal(result, expectation)) self.assertTrue(assert_array_equal(result, expectation))
def test_create_and_predict_segment(self): def test_create_and_predict_segment(self):
from crankshaft.segmentation import Segmentation
from numpy.testing import assert_array_equal from numpy.testing import assert_array_equal
n_samples = 1000 n_samples = 1000