You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When performing ruptures.metric.randindex(bkps1, bkps2) with the two lists below, I obtain a value of 1.002088251282002, while the Rand index is supposed to be between 0 and 1.
I failed to reproduce your result. Installing the latest version (1.1.8) of ruptures, the output of the randindex method for the provided lists was $0.9968722559866201$ . I also tested it on sklearn using sklearn.metrics.randindex method. Using the same input (it has to be adapted since they handle clustering instead of change-points directly), and the output was again $0.9968722559866201$ , matching exactly ruptures output.
When performing ruptures.metric.randindex(bkps1, bkps2) with the two lists below, I obtain a value of 1.002088251282002, while the Rand index is supposed to be between 0 and 1.
The text was updated successfully, but these errors were encountered: