summaryrefslogtreecommitdiff
path: root/dtrain/test/mtm11/logreg_cd/bin_class.h
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-26 11:36:49 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-26 11:36:49 +0200
commit28806638345e60bd442bf5fa8e7471f9115b0296 (patch)
tree1c304a800ac46f7d0f42ffdfb227571c80b56700 /dtrain/test/mtm11/logreg_cd/bin_class.h
parent273abce33542fb991e7188c14cd6419870cdb2bd (diff)
remove obsolete stuff
Diffstat (limited to 'dtrain/test/mtm11/logreg_cd/bin_class.h')
-rw-r--r--dtrain/test/mtm11/logreg_cd/bin_class.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/dtrain/test/mtm11/logreg_cd/bin_class.h b/dtrain/test/mtm11/logreg_cd/bin_class.h
deleted file mode 100644
index 3466109a..00000000
--- a/dtrain/test/mtm11/logreg_cd/bin_class.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef _BIN_CLASS_H_
-#define _BIN_CLASS_H_
-
-#include <vector>
-#include "sparse_vector.h"
-
-struct TrainingInstance {
- // TODO add other info? loss for MIRA-type updates?
- SparseVector<double> x_feature_map;
- bool y;
-};
-
-struct Objective {
- virtual ~Objective();
-
- // returns f(x) and f'(x)
- virtual double ObjectiveAndGradient(const SparseVector<double>& x,
- const std::vector<TrainingInstance>& training_instances,
- SparseVector<double>* g) const = 0;
-};
-
-#endif