fix knob identification

This commit is contained in:
bohanjason 2019-12-15 00:48:09 -05:00 committed by Dana Van Aken
parent cae807cf62
commit ddd97a0973
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ def run_knob_identification(knob_data, metric_data, dbms):
encoded_knob_columnlabels = dummy_encoder.new_labels encoded_knob_columnlabels = dummy_encoder.new_labels
else: else:
encoded_knob_columnlabels = nonconst_knob_columnlabels encoded_knob_columnlabels = nonconst_knob_columnlabels
encoded_knob_matrix = nonconst_knob_matrix
# standardize values in each column to N(0, 1) # standardize values in each column to N(0, 1)
standardizer = StandardScaler() standardizer = StandardScaler()