mirror of
https://github.com/CartoDB/crankshaft.git
synced 2024-11-01 10:20:48 +08:00
data entry edits
This commit is contained in:
parent
8c5449cfd0
commit
29a0d810ed
@ -77,6 +77,7 @@ class AnalysisDataProvider(object):
|
||||
"target": variable,
|
||||
"features": feature_columns}
|
||||
"""
|
||||
|
||||
columns = ', '.join(['array_agg("{col}") As "{col}"'.format(col=col)
|
||||
for col in params['features']])
|
||||
query = '''
|
||||
|
@ -63,7 +63,6 @@ class SegmentationTest(unittest.TestCase):
|
||||
self.assertTrue(assert_array_equal(result, expectation))
|
||||
|
||||
def test_create_and_predict_segment(self):
|
||||
from crankshaft.segmentation import Segmentation
|
||||
from numpy.testing import assert_array_equal
|
||||
|
||||
n_samples = 1000
|
||||
|
Loading…
Reference in New Issue
Block a user