Adding features to process Blossom sprinkler's data: removing overlapping sequences.
[pingpong.git] / python_ml / validate-detection.py
index 9ddde6c797d36bb41dad3ac49e480673e9a3939d..2d19ed4a23e01ac5c1187677eb2ed2b53c2efdd4 100644 (file)
@@ -1,5 +1,6 @@
 from datetime import datetime
 
+
 path = "/scratch/July-2018/experimental_result/smarthome/"
 #path = "/scratch/July-2018/experimental_result/standalone/"
 # D-Link plug
@@ -93,14 +94,20 @@ path = "/scratch/July-2018/experimental_result/smarthome/"
 #fileDetection = "wemo-insight-plug-smarthome-nov-22-2018.phone.wlan1.detections"
 
 # Blossom sprinkler
-device = "blossom-sprinkler/self-test"
-fileExperiment = "blossom-sprinkler-standalone-jan-9-2019.timestamps"
+#device = "blossom-sprinkler/self-test"
+#fileExperiment = "blossom-sprinkler-standalone-jan-9-2019.timestamps"
+#fileExperiment = "blossom-sprinkler-standalone-jan-11-2019.timestamps"
+#fileExperiment = "blossom-sprinkler-standalone-jan-14-2019.timestamps"
 #fileDetection = "phone-side-detection"
 #fileDetection = "device-side-detection"
 device = "blossom-sprinkler/timestamps"
-fileExperiment = "blossom-sprinkler-smarthome-jan-10-2019.timestamps"
-fileDetection = "blossom-sprinkler-smarthome-jan-10-2019.device.wlan1.detections"
-#fileDetection = "blossom-sprinkler-smarthome-jan-10-2019.phone.wlan1.detections"
+#fileExperiment = "blossom-sprinkler-smarthome-jan-10-2019.timestamps"
+#fileExperiment = "blossom-sprinkler-smarthome-jan-11-2019.timestamps"
+fileExperiment = "blossom-sprinkler-smarthome-jan-14-2019.timestamps"
+#fileDetection = "blossom-sprinkler-smarthome-jan-10-2019.device.wlan1.detections"
+#fileDetection = "blossom-sprinkler-smarthome-jan-11-2019.phone.wlan1.detections"
+#fileDetection = "blossom-sprinkler-smarthome-jan-14-2019.device.eth0.detections"
+fileDetection = "blossom-sprinkler-smarthome-jan-14-2019.phone.eth0.detections"
 
 TIME_WINDOW = 15 # detection/signature window of 15 seconds
 #NEG_TIME_WINDOW = -15 # detection/signature window of 15 seconds