Necessary commit before proceeding.

notes
Primoz 2022-10-12 12:23:11 +00:00
parent 1ad25bb572
commit 55517eb737
2 changed files with 3 additions and 2 deletions

View File

@ -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"]:

View File

@ -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")