Open aimeeh0527 opened 6 years ago
Can you explain a bit more in detail what you tried. I just run the notebook without any problems.
Thanks for the reply! I ran the code in Python 3, and here is the RuntimeWarning I got from the online detection:
Then the graphs turned out a bit weird. The second graph does not have an all-black background (I believe that indicates a probability of 0), and the third graph seems missing one or two changepoints.
For the offline detection everything went well. For the online one I am sure I didn't make any change on the code so I am confused why I got different results from yours. Thanks for looking into my problem!
Sorry I'm quite busy. I promise to look into it at some point.
No worries! This error had almost no effect on the results, only on the graph. And I think I almost figured out how to fix it in the numpy arrays. Thanks a ton for your time!
I have exactly the same problem when I run the code
I ran the entire sample code and got an error on the log function for online detection. It says "divide by zero encountered in log". I constantly got this error for the random time series or my own time series data. I am wondering why there are zeros and how to avoid them. Could you please take a look when you get some time? Thank you so much!