How do I classify heart sounds using Euclidean distance?
4 次查看(过去 30 天)
显示 更早的评论
I have a set of training signals, (all have murmurs) and a testing signal. How can I use Euclidean distance to identify if it have a murmur or if the heart sound is normal?
0 个评论
回答(2 个)
Image Analyst
2013-10-2
At the very least you'd have to crop off any partial beat signals at the ends of the array, then scale the signal to account for different heart rates, which may even require a different scaling for the "between beats" signal and the "during beats" signal. But, I'm very, very certain this has been done before. People have been working on ecg signals for decades. What do published papers say on this? What algorithm do they use? Anything I might tell you would be overly simplistic compared to what's been published, or anyone else unless they happen to be working on ecg signals themselves.
0 个评论
Shashank Prasanna
2013-10-2
You haven't provided much detail about the nature of the problem, but it appears that kNN classifier might be what you are looking for. kNN uses Euclidean or any other distance metric you specify to classify your data if you already know the response for your training data:
Take a look at the examples at this page:
If your training data does not include information about the response, then you do clustering using euclidean distance with KMEANS:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 AI for Signals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!