Public Member Functions | |
def | create_train_datastructures |
def | load |
def | postprocess |
def | release_train_datastructures |
def | save |
def | test |
def | test_postprocess |
def | train |
Public Attributes | |
test_feature_dict | |
test_labels | |
Static Public Attributes | |
list | all_data = [] |
tuple | all_data = np.asarray(all_data) |
list | all_labels = [] |
tuple | all_labels = np.asarray(all_labels) |
int | current_training_set_index = 1 |
cv_classifier = None | |
tuple | fv = (dict['features'][index]) |
tuple | indices = np.array(random.sample(xrange(len(all_labels)),max_traning_size)) |
tuple | train_data = cv.cvCreateMat(max_traning_size,feature_vector_length,cv.CV_32FC1) |
tuple | train_labels = cv.cvCreateMat(max_traning_size,1,cv.CV_32FC1) |
tuple | type_mask = cv.cvCreateMat(1, feature_vector_length+1, cv.CV_8UC1) |
classdocs
Definition at line 44 of file boosted_tree_classifier.py.
def laser_camera_segmentation.boosted_tree_classifier.boosted_tree_classifier.create_train_datastructures | ( | self | ) |
Definition at line 57 of file boosted_tree_classifier.py.
Definition at line 315 of file boosted_tree_classifier.py.
def laser_camera_segmentation.boosted_tree_classifier.boosted_tree_classifier.postprocess | ( | self, | |
labels | |||
) |
Definition at line 272 of file boosted_tree_classifier.py.
def laser_camera_segmentation.boosted_tree_classifier.boosted_tree_classifier.release_train_datastructures | ( | self, | |
train_datastructures | |||
) |
Definition at line 210 of file boosted_tree_classifier.py.
Definition at line 306 of file boosted_tree_classifier.py.
def laser_camera_segmentation.boosted_tree_classifier.boosted_tree_classifier.test | ( | self, | |
feature_data = None |
|||
) |
Definition at line 218 of file boosted_tree_classifier.py.
def laser_camera_segmentation.boosted_tree_classifier.boosted_tree_classifier.test_postprocess | ( | self | ) |
Definition at line 268 of file boosted_tree_classifier.py.
Definition at line 189 of file boosted_tree_classifier.py.
list laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::all_data = [] [static] |
Definition at line 146 of file boosted_tree_classifier.py.
tuple laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::all_data = np.asarray(all_data) [static] |
Definition at line 162 of file boosted_tree_classifier.py.
list laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::all_labels = [] [static] |
Definition at line 147 of file boosted_tree_classifier.py.
tuple laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::all_labels = np.asarray(all_labels) [static] |
Definition at line 163 of file boosted_tree_classifier.py.
int laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::current_training_set_index = 1 [static] |
Definition at line 136 of file boosted_tree_classifier.py.
laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::cv_classifier = None [static] |
Definition at line 49 of file boosted_tree_classifier.py.
tuple laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::fv = (dict['features'][index]) [static] |
Definition at line 151 of file boosted_tree_classifier.py.
tuple laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::indices = np.array(random.sample(xrange(len(all_labels)),max_traning_size)) [static] |
Definition at line 161 of file boosted_tree_classifier.py.
Definition at line 218 of file boosted_tree_classifier.py.
Definition at line 218 of file boosted_tree_classifier.py.
tuple laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::train_data = cv.cvCreateMat(max_traning_size,feature_vector_length,cv.CV_32FC1) [static] |
Definition at line 168 of file boosted_tree_classifier.py.
tuple laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::train_labels = cv.cvCreateMat(max_traning_size,1,cv.CV_32FC1) [static] |
Definition at line 169 of file boosted_tree_classifier.py.
tuple laser_camera_segmentation::boosted_tree_classifier.boosted_tree_classifier::type_mask = cv.cvCreateMat(1, feature_vector_length+1, cv.CV_8UC1) [static] |
Definition at line 181 of file boosted_tree_classifier.py.