X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=global.h;h=8a1978f00c9a479bbb906533042a01af1b42c608;hb=aed34255065b18c445d096f51bd2091833810a81;hp=fae2d81213655d591fc044bd1a48bb238adf88aa;hpb=ccc2785ee823c934edcededc5c6448e4f9488f8b;p=folded-ctf.git
diff --git a/global.h b/global.h
index fae2d81..8a1978f 100644
--- a/global.h
+++ b/global.h
@@ -12,10 +12,18 @@
// You should have received a copy of the GNU General Public License //
// along with this program. If not, see . //
// //
-// Written by Francois Fleuret, (C) IDIAP //
+// Written by Francois Fleuret //
+// (C) Idiap Research Institute //
+// //
// Contact for comments & bug reports //
///////////////////////////////////////////////////////////////////////////
+/*
+
+ We stuff all the global values in there.
+
+ */
+
#ifndef GLOBAL_H
#define GLOBAL_H
@@ -28,7 +36,6 @@ using namespace std;
#include "progress_bar.h"
enum { LOSS_EXPONENTIAL,
- LOSS_EV_REGULARIZED,
LOSS_HINGE,
LOSS_LOGISTIC };
@@ -43,12 +50,10 @@ public:
char detector_name[buffer_size];
char result_path[buffer_size];
- char materials_image_numbers[buffer_size];
- char materials_pf_numbers[buffer_size];
-
int loss_type;
int nb_images;
+ int material_feature_nb;
int tree_depth_max;