Skip to content

Commit

Permalink
Changed EEG to ECG in tutorial (#928)
Browse files Browse the repository at this point in the history
Corrected EEG to ECG (electrocardiogram), the recording of the heart's electrical activity.
  • Loading branch information
EitanHemed authored Oct 17, 2023
1 parent d569c9a commit 58ccc69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Tutorial_Pattern_Matching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@
"\n",
"Now, you might wonder which subsequences of `T` count as matches of `Q`. Earlier, we manually sorted the distance profile in ascending order and defined the top 16 matches to be the 16 subsequences with the lowest distance. While we can emulate this behavior with `stumpy.match` (see the end of this section), the preferred way is to return all subsequences in `T` that are closer to than some threshold. This threshold is controlled specifying the `max_distance` parameter. \n",
"\n",
"STUMPY tries to find a reasonable default value but, in general, this is very difficult because it largely depends on your particular dataset and/or domain. For example, if you have EEG data of a patient's heartbeat and you want to match one specific beat, then you may consider using a smaller threshold since your time series may be highly regular. On the other hand, if you try to match a specific word in a voice recording, then you would probably need to use a larger threshold since the exact shape of your match could be influenced by how the speaker pronounces the given word.\n",
"STUMPY tries to find a reasonable default value but, in general, this is very difficult because it largely depends on your particular dataset and/or domain. For example, if you have ECG data of a patient's heartbeat and you want to match one specific beat, then you may consider using a smaller threshold since your time series may be highly regular. On the other hand, if you try to match a specific word in a voice recording, then you would probably need to use a larger threshold since the exact shape of your match could be influenced by how the speaker pronounces the given word.\n",
"\n",
"Let's plot all of the discovered `matches` to see if we need to adjust our threshold:"
]
Expand Down

0 comments on commit 58ccc69

Please sign in to comment.