Public Member Functions | |
def | __init__ |
def | active_learn_test |
def | active_learn_test2 |
def | active_learn_test3 |
def | add_to_dataset |
def | add_to_training_set |
def | automatic_label |
def | classify_current_scan |
def | construct_learner |
def | draw |
def | evaluate_learner |
def | evaluate_over_datasets |
def | generate_dataset_for_hyperparameter_grid_search |
def | has_enough_data |
def | load_next |
def | load_prev |
def | load_scan |
def | mouse_cb |
def | remove_from_training_set |
def | run_gui |
def | save_current |
def | search_dataset_id |
def | select_features |
def | step |
def | test_feature_perf |
def | train |
Public Attributes | |
cdisp | |
current_scan | |
current_scan_pred | |
dataset | |
feature_file_ext | |
features_to_use | |
frame_number | |
pdb.set_trace() | |
learner | |
mode | |
rec_params | |
scale | |
scan_dir_name | |
scan_idx | |
scan_names | |
training_sname |
Definition at line 768 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.__init__ | ( | self, | |
dirname, | |||
ext, | |||
scan_to_train_on, | |||
seed_dset, | |||
features_to_use | |||
) |
Definition at line 770 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.active_learn_test | ( | self, | |
features_to_use, | |||
exp_name, | |||
use_pca = None , |
|||
run_till_end = False |
|||
) |
Definition at line 1514 of file recognize_3d.py.
Definition at line 1331 of file recognize_3d.py.
Definition at line 1206 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.add_to_dataset | ( | self, | |
pinfo | |||
) |
Definition at line 1856 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.add_to_training_set | ( | self, | |
indices | |||
) |
Definition at line 1705 of file recognize_3d.py.
Definition at line 1046 of file recognize_3d.py.
Definition at line 814 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.construct_learner | ( | self, | |
seed_set, | |||
prev_pca, | |||
g, | |||
c, | |||
ratio = None |
|||
) |
Definition at line 1175 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.draw | ( | self, | |
save_postf = "" |
|||
) |
Definition at line 853 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.evaluate_learner | ( | self, | |
instances, | |||
true_labels, | |||
verbose = True |
|||
) |
Definition at line 1824 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.evaluate_over_datasets | ( | self, | |
test_idx, | |||
learner, | |||
exp_name | |||
) |
Definition at line 1198 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.generate_dataset_for_hyperparameter_grid_search | ( | self, | |
features_to_use | |||
) |
Definition at line 1155 of file recognize_3d.py.
Definition at line 1770 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.load_next | ( | self | ) |
Definition at line 845 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.load_prev | ( | self | ) |
Definition at line 849 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.load_scan | ( | self, | |
fname | |||
) |
Definition at line 824 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.mouse_cb | ( | self, | |
event, | |||
x, | |||
y, | |||
flags, | |||
param | |||
) |
Definition at line 1663 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.remove_from_training_set | ( | self, | |
indices | |||
) |
Definition at line 1758 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.run_gui | ( | self | ) |
Definition at line 1658 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.save_current | ( | self | ) |
Definition at line 838 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.search_dataset_id | ( | self, | |
scan_name | |||
) |
Definition at line 806 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.select_features | ( | self, | |
instances, | |||
features_to_use, | |||
sizes | |||
) |
Definition at line 1029 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.step | ( | self | ) |
Definition at line 916 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.test_feature_perf | ( | self, | |
scans_to_train_on, | |||
features_to_use, | |||
exp_name, | |||
use_pca = None |
|||
) |
Definition at line 1065 of file recognize_3d.py.
def trf_learn.recognize_3d.ScanLabeler.train | ( | self, | |
inputs_for_scaling | |||
) |
Definition at line 1776 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
pdb.set_trace()
pylab.imshow(img, cmap=pylab.cm.gist_earth_r, extent=[0,img.cols, 0, img.rows]) pylab.plot(locs2d[0,:].A1, locs2d[1,:].A1, 'k.', markersize=2) pylab.plot([loc2d_max[0,0]], [loc2d_max[1,0]], 'gx') pdb.set_trace() pylab.show() draw_labeled_points(density_img, self.current_scan_pred, scale=1./self.scale, pos_color=[255, 255, 255], neg_color=[0,0,0]) cv.Smooth(density_img, density_img, cv.CV_GAUSSIAN, 151, 151, 2)
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.
Definition at line 770 of file recognize_3d.py.