Did I find the right examples for you? yes no

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

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_svm.py   Orange(Download)
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        svm_test_binary_classifier(self, dataset)
 
 
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        svm_test_binary_classifier(self, dataset)
 
 
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        svm_test_binary_classifier(self, dataset)
 
@datasets_driven(datasets=datasets)
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        svm_test_binary_classifier(self, dataset)
 
 
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        svm_test_binary_classifier(self, dataset)
 
 

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_som.py   Orange(Download)
    def test_learner_on(self, dataset):
        if dataset.domain.class_var:
            # Test the learner/classification interface
            testing.LearnerTestCase.test_learner_on(self, dataset)
        else:
    def test_learner_on(self, dataset):
        if dataset.domain.class_var:
            # Test the learner/classification interface
            testing.LearnerTestCase.test_learner_on(self, dataset)
        else:

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_linregression.py   Orange(Download)
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        self.assertTrue(isinstance(self.classifier.to_string(), str))
 
@datasets_driven(datasets=testing.REGRESSION_DATASETS)
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        self.assertTrue(isinstance(self.classifier.to_string(), str))
 
 

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_lasso.py   Orange(Download)
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        self.assertTrue(isinstance(self.classifier.to_string(), str))
 
if __name__ == "__main__":

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_knn.py   Orange(Download)
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        instance = dataset.random_instance()
        self.assertEqual(len(self.classifier.find_nearest(3, instance)), 3)
 

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_c45.py   Orange(Download)
        except orange.KernelException:
            raise unittest.SkipTest("C45 dll not found")
        testing.LearnerTestCase.test_learner_on(self, dataset)
 
    @testing.test_on_data

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_logreg.py   Orange(Download)
        if len(dataset) < len(dataset.domain):
            raise unittest.SkipTest("Not enough examples")
        testing.LearnerTestCase.test_learner_on(self, dataset)
 
 
    def test_learner_on(self, dataset):
        """ Test LibLinearLogRegLearner.
        """
        testing.LearnerTestCase.test_learner_on(self, dataset)
 

src/o/r/orangecontrib.earth-0.1.3/orangecontrib/earth/tests/test_earth.py   orangecontrib.earth(Download)
    def test_learner_on(self, dataset):
        if len(dataset) < 30:
            raise unittest.SkipTest("Not enough examples.")
        testing.LearnerTestCase.test_learner_on(self, dataset)
        str = self.classifier.to_string()

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_stepwise_wrapper.py   Orange(Download)
                Orange.data.sample.SubsetIndices2(p0=100)(dataset)
                )
        testing.LearnerTestCase.test_learner_on(self, dataset)
 
if __name__ == "__main__":

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_rules.py   Orange(Download)
def test_learner_on(self, dataset):
    testing.LearnerTestCase.test_learner_on(self, dataset)
    for r in self.classifier.rules:
        str = rules.rule_to_string(r, True)
 

  1 | 2  Next