| Home | Trees | Index | Help |
|
|---|
| Package pyVerif :: Module Experiment :: Class Experiment |
|
| Method Summary | |
|---|---|
The Experiment object constructor. | |
Compute the clients scores for all the models. | |
Load both dev and test protocols. | |
Log the given text. | |
Log the given options. | |
Merge the computed into a result file. | |
Set the commands for training and testing the clients models. | |
Set directories where to put scores and models. | |
Train all the clients models. | |
| Method Details |
|---|
__init__(self,
features_dir,
bin_dir,
norm_file=None,
tmp_dir='tmp',
out_dir='./',
features_ext='.mat',
log_on_screen=False,
log_file=None,
executor=None)
|
build_clients_scores(self, for_dev)Compute the clients scores for all the models. Specify for_dev=True if you want to compute for dev set, and for_dev=False if you want to compute for test set. Parameters:
|
load_protocols(self, base_dir, variant)Load both dev and test protocols. Load both protocols dev and test from the given directory and the wanted variant. Parameters:
|
log(self, txt)Log the given text. |
log_options(self, options, text=None)Log the given options. Parameters:
|
merge_score(self, out_file, for_dev)Merge the computed into a result file. Merge the score for either dev or test, putting the result in out_file. This method should be overwritted in the new classes, as it does nothing by default. Parameters:
|
set_cmds(self, train_cmd, train_opts, test_cmd, test_opts)Set the commands for training and testing the clients models. Parameters:
|
set_dirs(self, models_dir, scores_dir)Set directories where to put scores and models. |
train_clients_models(self, for_dev)Train all the clients models. This method should be overwritted in the new classes, as it does nothing by default. Parameters:
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Oct 6 12:25:10 2006 | http://epydoc.sf.net |