Closed leanderme closed 4 years ago
Sorry, forgot to attach the model. It has been trained with the (default) parameters suggested in your detailed tutorial.
Hi, @leanderme !
Sorry for the long response.
I'd suggest to try running inference on the validation set of the same dataset you've trained the model on. Results should be reasonable - this way you'd verify that the model has converged to a reasonable state and the problem is probably in the data.
From what I can see in you screenshot, your data has a non-zero baseline and much higher amplitudes than in training data. It is possible that subtracting mean and scaling amplitudes may lead to better performance.
I'll close this issue for now.
Hi, thank you for sharing this!
I've successfully trained the hmm model for the segmentation task. Feeding it with the demo data provided outputs satisfying results. When using different unseen data, it does not though.
I tried to do the segmentation with the Physionet 2016 dataset . Each record contains a heart sound recording and the respective ecg signal. Therefore, I've extracted the ecg first:
The prediction is done by:
But the model output seems to be almost random:
My question is: Did you experience similar results? Do you have any perfomance metrics for the segmentation model? Am I missing something here (like preprocessing)?
Any help is greatly appreciated.