Mercurial > hg > scatter_reeval
annotate reeval/experiments/run_experiment.m @ 4:a1f6a08f624c tip
Completed version 0.0.2
author | Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk> |
---|---|
date | Tue, 03 Nov 2015 21:24:41 +0000 |
parents | b1cd83874633 |
children |
rev | line source |
---|---|
f@2 | 1 function [] = run_experiment(experiment, condition, results_dir) |
f@2 | 2 |
f@2 | 3 if nargin < 2 |
f@2 | 4 condition = cellstr(['none '; 'fault']); |
f@2 | 5 end |
f@2 | 6 if nargin < 3 |
f@2 | 7 global results_dir |
f@2 | 8 end |
f@2 | 9 |
f@2 | 10 db = compute_features(experiment); |
f@4 | 11 |
f@2 | 12 db.results = perform_classification(experiment, db, condition); |
f@2 | 13 |
f@2 | 14 store_results(experiment, db, results_dir); |
f@2 | 15 |
f@2 | 16 end |