Necessary commit before proceeding.
parent
1ad25bb572
commit
55517eb737
|
@ -100,7 +100,7 @@ def straw_cleaning(sensor_data_files, provider):
|
|||
col.startswith('phone_screen_rapids_') or
|
||||
col.startswith('phone_wifi_visible')]
|
||||
|
||||
features[impute_zero] = impute(features[impute_zero], method="zero")
|
||||
features[impute_zero] = features[impute_zero].fillna(0)
|
||||
|
||||
## (5) STANDARDIZATION
|
||||
if provider["STANDARDIZATION"]:
|
||||
|
|
|
@ -93,7 +93,8 @@ def straw_cleaning(sensor_data_files, provider, target):
|
|||
col.startswith('phone_messages_rapids_') or
|
||||
col.startswith('phone_screen_rapids_') or
|
||||
col.startswith('phone_wifi_visible')]
|
||||
features[impute_zero] = impute(features[impute_zero], method="zero")
|
||||
|
||||
features[impute_zero] = features[impute_zero].fillna(0)
|
||||
|
||||
graph_bf_af(features, "5zero_imp")
|
||||
|
||||
|
|
Loading…
Reference in New Issue