diff reeval/experiments/run_experiment.m @ 2:b1cd83874633

Major structural revision. Modular organization of functionalities
author Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk>
date Wed, 28 Oct 2015 16:15:47 +0000
parents
children a1f6a08f624c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/reeval/experiments/run_experiment.m	Wed Oct 28 16:15:47 2015 +0000
@@ -0,0 +1,16 @@
+function [] = run_experiment(experiment, condition, results_dir)
+
+  if nargin < 2
+    condition = cellstr(['none '; 'fault']);
+  end
+  if nargin < 3
+    global results_dir
+  end
+
+  db = compute_features(experiment);
+
+  db.results = perform_classification(experiment, db, condition);
+
+  store_results(experiment, db, results_dir);
+
+end