Exemplo n.º 1
0
    def _test_svm_based2(self):
        dataset = covtype_reader.toNumpy()
        n_feature = 'all'

        print "Dataset: CoverType, Classifier: Linear SVM"
        print
        #self.run_ratio(LinearSVC, dataset, n_feature)
        self.run_size(LinearSVC, dataset, n_feature)
Exemplo n.º 2
0
    def _test_svm_based2(self):
        dataset = covtype_reader.toNumpy()
        n_feature = 'all'

        print "Covtype with SVM"
        self.run_test_with(dataset, LinearSVC, n_feature)
Exemplo n.º 3
0
 def _test_svm_based2(self):
     print "Compare Covtype with SVM"
     dataset = covtype_reader.toNumpy()
     n_feature = 'all'
     self.run_test_with(dataset, self.compare_svm_based, n_feature)