K means clustering in ECG Signal
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi Everyone,
Is there anyone knows how to perform the accurate K-Means Clustering in the ECG Signal, I have tried in many different K, but look bad.
Thanks in advance, Lina
댓글 수: 0
답변 (3개)
Image Analyst
2012년 4월 22일
I don't know how that would work. An ecg signal is a waveform of continuous amplitudes. Exactly why would you want to cluster it and what would the clusters mean? Why do you even think that there are clusters?
댓글 수: 6
Image Analyst
2012년 4월 22일
You've still not given me a good idea of what the clusters would mean. Let's say you have 4 clusters, so you're going to take a continuous voltage waveform and reduce it from infinite voltages to just 4 voltages. What is the meaning of cluster #1? I still don't get it.
Have you searched the File Exchange for ecg? My expertise is not in ecg or 1D signal analysis.
Walter Roberson
2012년 4월 22일
There is no general algorithm to determine the "best" number of clusters for k-mean clustering.
The "best" number depends upon having an extra function to decide how "good" a particular clustering is, and the assumptions in any one such function will never match all circumstances. Recall that you can get a perfect fit by using the same number of clusters as you have samples, so preferring any number of clusters smaller than that is based upon some kind of trade-off, some kind of per-cluster "cost", and that "cost" is going to differ from situation to situation.
댓글 수: 3
Walter Roberson
2012년 4월 22일
If you had a number of different noisy versions of the _same_ ecg signal, I guess you could potentially cluster piece-wise to arrive at waypoint approximations of the original signal. But if you did have that, it would seem to make more sense to average the noisy version ?
Image Analyst
2012년 4월 22일
I still don't get it. As long as the waveforms were aligned with respect to time you could just average them, like you said. With clusters you'd have just one cluster for one time point and you'd take the centroid, which is just the mean again. I don't know what else clusters could possibly represent. You can't do clusters across time or else all you'd get are clusters like "high voltages," "mid-level voltages," and "low voltages," or something like that, which is pretty useless, or at least a complicated way of arriving at that (as compared to thresholding).
I'm beginning to think she just heard about some cool algorithm called "k-means" and wanted to apply it somehow to ecg signals, regardless of whether it was applicable or appropriate or not.
참고 항목
카테고리
Help Center 및 File Exchange에서 ECG / EKG에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!