Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_hclustering.py   Orange(Download)
        def p(val, obj=None):
            self.assert_(val >= 0 and val <= 100)
            self.assertIsInstance(val, float)
        matrix = instance_distance_matrix(data, Euclidean(), progress_callback=p)
        root1 = HierarchicalClustering(matrix, progress_callback=p)