Under colab, assess_fragmentation_optimal_cut will return incorrect results (all scores at 0, sometimes nan) if the given ground-truth labelling does not start at 0.
Temporary workaround: ensure that ground-truth labeling use labels from 0 to n-1 with n the number of different regions in the labelling.
Under colab,
assess_fragmentation_optimal_cut
will return incorrect results (all scores at 0, sometimes nan) if the given ground-truth labelling does not start at 0.Temporary workaround: ensure that ground-truth labeling use labels from 0 to n-1 with n the number of different regions in the labelling.