Remove TODO comments

notes
Primoz 2022-09-21 07:16:00 +00:00
parent a96ea508c6
commit 90ee99e4b9
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,6 @@ def deviceFeatures(devices, ownership, common_devices, features_to_compute, feat
if "meanscans" in features_to_compute:
features = features.join(device_value_counts.groupby("local_segment")["scans"].mean().to_frame("meanscans" + ownership), how="outer")
if "stdscans" in features_to_compute:
# TODO: check if std scans implementation works
features = features.join(device_value_counts.groupby("local_segment")["scans"].std().to_frame("stdscans" + ownership).fillna(0), how="outer")
# Most frequent device within segments, across segments, and across dataset
if "countscansmostfrequentdevicewithinsegments" in features_to_compute:

View File

@ -38,7 +38,6 @@ def variance_and_logvariance_features(location_data, location_features):
location_features["locationvariance"] = ((location_data_grouped["latitude_for_wvar"].sum() + location_data_grouped["longitude_for_wvar"].sum()) / (location_data_grouped["duration"].sum() * 60 - 1)).fillna(0)
# TODO: loglocationvariance - check if the implementation works
location_features["loglocationvariance"] = np.log10(location_features["locationvariance"]).replace(-np.inf, -1000000)
return location_features