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)
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)
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)