7. Test detector on example prh - ashleyblawas/respdetect GitHub Wiki
In this step you will import your breath detections for the provided test dataset and the provided validation breath detections.
Step 7a: Compare your detected breaths to the validated detection file for gm08_143b
First, you will load in the validation detections. The breath indicies and timestamps will be extracted from this file.
Second, your detected breaths will be loaded into the workspace. The breath indicies and timestamps will be extracted from this file.
Finally, a time difference between validated and your detected breaths will be calculated. If these variables are not the same length, this variable will not be calculated and an error will arise. This indicates something has gone wrong with your code. Two difference metrics should be printed out if these two variables are the same length. These should both be equal to zero if your code has run correctly.
Step 7b: Compare your detected breaths to the validated detection file for mn17_310a
Same as above but you will be loading a different validation file!