Did I find the right examples for you? yes no

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

src/o/r/orangecontrib.earth-0.1.3/orangecontrib/earth/tests/test_earth.py   orangecontrib.earth(Download)
class TestEarthLearner(testing.LearnerTestCase):
 
    def setUp(self):
        self.learner = earth.EarthLearner(degree=2, terms=10)
 

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_tree.py   Orange(Download)
class TestClassification(testing.LearnerTestCase):
    LEARNER = ctree.TreeLearner(max_depth=50)
 
 
@datasets_driven(datasets=testing.REGRESSION_DATASETS)
class TestRegression(testing.LearnerTestCase):
class TestSTLClassification(testing.LearnerTestCase):
    LEARNER = ctree.SimpleTreeLearner(max_depth=50)
 
 
@datasets_driven(datasets=testing.REGRESSION_DATASETS)
class TestSTLRegression(testing.LearnerTestCase):

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_svm.py   Orange(Download)
class LinearSVMTestCase(testing.LearnerTestCase):
    LEARNER = SVMLearner(name="svm-lin", kernel_type=SVMLearner.Linear)
 
    @test_on_data
    def test_learner_on(self, dataset):
class PolySVMTestCase(testing.LearnerTestCase):
    LEARNER = SVMLearner(name="svm-poly", kernel_type=SVMLearner.Polynomial)
 
    @test_on_data
    def test_learner_on(self, dataset):
class RBFSVMTestCase(testing.LearnerTestCase):
    LEARNER = SVMLearner(name="svm-RBF", kernel_type=SVMLearner.RBF)
 
    @test_on_data
    def test_learner_on(self, dataset):
        testing.LearnerTestCase.test_learner_on(self, dataset)
        svm_test_binary_classifier(self, dataset)
 
@datasets_driven(datasets=datasets)
class SigmoidSVMTestCase(testing.LearnerTestCase):
class SparseSVMTestCase(testing.LearnerTestCase):
    LEARNER = SVMLearnerSparse(name="svm-sparse")
 
    @test_on_data
    def test_learner_on(self, dataset):

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_stepwise_wrapper.py   Orange(Download)
class TestStepwise(testing.LearnerTestCase):
    LEARNER = wrappers.StepwiseLearner(learner=bayes.NaiveLearner())
    @testing.test_on_data
    def test_learner_on(self, dataset):
        if len(dataset) > 100:

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_som.py   Orange(Download)
class TestSOM(testing.LearnerTestCase):
    def setUp(self):
        self.learner = som.SOMLearner
 
    @test_on_data
class TestSOMSupervised(testing.LearnerTestCase):
    def setUp(self):
        self.learner = som.SOMSupervisedLearner()
 
    @test_on_data

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_rules.py   Orange(Download)
class TestCN2Learner(testing.LearnerTestCase):
    def setUp(self):
        self.learner = rules.CN2Learner()
 
    test_learner_on = test_learner_on
 
@testing.datasets_driven(datasets=testing.CLASSIFICATION_DATASETS)
class TestCN2UnorderedLearner(testing.LearnerTestCase):

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_pls.py   Orange(Download)
class TestPLS(testing.LearnerTestCase):
    LEARNER = pls.PLSRegressionLearner
 
 
# TODO: Test the PLS by passing x_vars, y_vars

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_neural.py   Orange(Download)
class TestNeuralNetwork(testing.LearnerTestCase):
    LEARNER = neural.NeuralNetworkLearner
 

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_majority.py   Orange(Download)
class TestMajorityLearner(testing.LearnerTestCase):
    LEARNER = majority.MajorityLearner()
 
@datasets_driven(datasets=testing.CLASSIFICATION_DATASETS)
class TestMajorityLearnerWithMEstimator(testing.LearnerTestCase):
    LEARNER = majority.MajorityLearner(estimator_constructor=\
                    Orange.core.ProbabilityEstimatorConstructor_m(m=3))
 
@datasets_driven(datasets=testing.CLASSIFICATION_DATASETS)
class TestMajorityLearnerWithLaplaceEstimator(testing.LearnerTestCase):
class TestMajorityLearnerWithKernelEstimator(testing.LearnerTestCase):
    LEARNER = majority.MajorityLearner(estimator_constructor=\
                    Orange.core.ProbabilityEstimatorConstructor_kernel())
 
@datasets_driven(datasets=testing.REGRESSION_DATASETS)
class TestMajorityLearnerWithLoessEstimator(testing.LearnerTestCase):

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_logreg.py   Orange(Download)
class TestLogRegLearner(testing.LearnerTestCase):
    LEARNER = LogRegLearner
    @testing.test_on_data
    def test_learner_on(self, dataset):
        """ Test LogRegLearner.
class TestLibLinearLogRegLearner(testing.LearnerTestCase):
    LEARNER = LibLinearLogRegLearner
    @testing.test_on_data
    def test_learner_on(self, dataset):
        """ Test LibLinearLogRegLearner.

  1 | 2  Next