code: def test_segmentation(self):
      self.assertAlmostEqual(
          segmentation(
              self.ann["start"],
              self.ann["end"],
              self.det["start"],
              self.det["end"],
          ),
          0.41025641025641025641,
      )
      self.assertAlmostEqual(
          segmentation(
              self.det["start"],
              self.det["end"],
              self.ann["start"],
              self.ann["end"],
          ),
          0.07692307692307692308,
      )
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.evaluation.chords import *
  from .None import ANNOTATIONS_PATH, DETECTIONS_PATH
label_desc: Use image node_id 10 for calling the TestChordEvaluation obj's underlying member method code with example usage: obj.test_segmentation() without return types