X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=python_ml%2Fvalidate-detection.py;h=b702721c37e0841041a1927a52e0c537dee8d919;hb=2422deddd73a43bbcbda776d6ddddba05318a2d2;hp=8154de7fc32d57ad81ded3aa4b04256dee6f9bae;hpb=f0fc1c585c13f21927c9e1d43ff4bdc91090e2d8;p=pingpong.git diff --git a/python_ml/validate-detection.py b/python_ml/validate-detection.py index 8154de7..b702721 100644 --- a/python_ml/validate-detection.py +++ b/python_ml/validate-detection.py @@ -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 @@ -54,14 +55,16 @@ path = "/scratch/July-2018/experimental_result/smarthome/" #device = "arlo-camera/timestamps" #fileExperiment = "arlo-camera-smarthome-nov-15-2018.timestamps" #fileDetection = "arlo-camera-smarthome-nov-15-2018.phone.eth0.detections" +#fileDetection = "arlo-camera-smarthome-nov-15-2018.phone.eth0.detections.range-based.complete" # Nest Thermostat #device = "nest-thermostat/self-test" #fileExperiment = "nest-thermostat-nov-15-2018.timestamps" #fileDetection = "phone-side-detection" -#device = "nest-thermostat/timestamps" -#fileExperiment = "nest-thermostat-smarthome-nov-16-2018.timestamps" +device = "nest-thermostat/timestamps" +fileExperiment = "nest-thermostat-smarthome-nov-16-2018.timestamps" #fileDetection = "nest-thermostat-smarthome-nov-16-2018.phone.eth0.detections" +fileDetection = "nest-thermostat-smarthome-nov-16-2018.phone.eth0.range-based.detections" # TP-Link Bulb #device = "tplink-bulb/self-test" @@ -80,9 +83,33 @@ path = "/scratch/July-2018/experimental_result/smarthome/" #device = "wemo-plug/self-test" #fileExperiment = "wemo-plug-nov-20-2018.timestamps" #fileDetection = "phone-side-detection" -device = "wemo-plug/timestamps" -fileExperiment = "wemo-plug-smarthome-nov-21-2018.timestamps" -fileDetection = "wemo-plug-smarthome-nov-21-2018.phone.wlan1.detections" +#device = "wemo-plug/timestamps" +#fileExperiment = "wemo-plug-smarthome-nov-21-2018.timestamps" +#fileDetection = "wemo-plug-smarthome-nov-21-2018.phone.wlan1.detections" + +# WeMo Insight plug +#device = "wemo-insight-plug/self-test" +#fileExperiment = "wemo-insight-plug-nov-21-2018.timestamps" +#fileDetection = "phone-side-detection" +#device = "wemo-insight-plug/timestamps" +#fileExperiment = "wemo-insight-plug-smarthome-nov-22-2018.timestamps" +#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" +#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" +#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