deepcharles / ruptures

ruptures: change point detection in Python
BSD 2-Clause "Simplified" License
1.56k stars 161 forks source link

AttributeError: module 'ruptures' has no attribute 'KernelCPD' #233

Closed irischang020 closed 2 years ago

irischang020 commented 2 years ago

Hi,

I was going through the notebooks in examples. For the performance comparison one, I got AttributeError: module 'ruptures' has no attribute 'KernelCPD' https://github.com/deepcharles/ruptures/blob/master/docs/examples/kernel-cpd-performance-comparison.ipynb Do you have any insights as to what could go wrong?

Thanks!

deepcharles commented 2 years ago

Hello,

Which version of ruptures are you using?

import ruptures as rpt
print(rpt.__version__)

Thanks

irischang020 commented 2 years ago

Hi,

I am using 1.1.6.

Thanks!

deepcharles commented 2 years ago

I cannot replicate this behaviour on my computer or on the online version of the notebook (see here, click on the Binder link at the top).

Can you try removing/reinstalling the library?

deepcharles commented 2 years ago

Did it work? Feel free to reopen this issue.

irischang020 commented 2 years ago

Yes, it worked. Thanks!

On Thu, Jan 27, 2022 at 11:37 AM Charles T. @.***> wrote:

Did it work? Feel free to reopen this issue.

— Reply to this email directly, view it on GitHub https://github.com/deepcharles/ruptures/issues/233#issuecomment-1023572869, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFP2LOJOHVGOU2JVHGJ2NOLUYGNGBANCNFSM5MWUIQGQ . You are receiving this because you authored the thread.Message ID: @.***>