Did I find the right examples for you? yes no

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

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_svm.py   Orange(Download)
class TestRFE(testing.DataTestCase):
    @test_on_data
    def test_rfe_on(self, data):
        rfe = RFE()
        num_selected = min(5, len(data.domain.attributes))

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_measures.py   Orange(Download)
class TestScoringUtils(testing.DataTestCase):
    @test_on_data
    def test_order_attrs(self, dataset):
        order = scoring.OrderAttributes(scoring.Relief())
        orderes_attrs = order(dataset, 0)

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_hclustering.py   Orange(Download)
class TestHClustering(testing.DataTestCase):
    @testing.test_on_data
    def test_example_clustering_on(self, data):
        constructors = [Euclidean, Manhattan]
        for distance_constructor in constructors:

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_data_utils.py   Orange(Download)
class TestTake(testing.DataTestCase):
    @testing.test_on_data
    def test_take_domain(self, data):
        size = len(data.domain)
        indices = range(size)