Ejemplo n.º 1
0
    def test_random_forest_based(self):
        dataset = satimage_reader.toNumpy()
        n_feature = 'all'

        print "Dataset: Satimage, Classifier: Random Forest"
        print
        #self.run_ratio(RFWrapper, dataset, n_feature)
        self.run_size(RFWrapper, dataset, n_feature)
Ejemplo n.º 2
0
    def _test_random_forest_based2(self):
        dataset = satimage_reader.toNumpy()
        n_feature = 'all'

        print "Satimage with RF"
        self.run_test_with(dataset, RFWrapper, n_feature, dense=False)
Ejemplo n.º 3
0
 def _test_rf_based2(self):
     print "Compare Satimage with RF"
     dataset = satimage_reader.toNumpy()
     n_feature = 'all'
     self.run_test_with(dataset, self.compare_rf_based, n_feature)