diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-04-26 11:36:49 +0200 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-04-26 11:36:49 +0200 |
commit | fde1df3ee578564f78d7d0eac453dcb3f1740e05 (patch) | |
tree | 3d986ff73becb4b062633bc6d2a7ba946a3bc488 /dtrain/test/mtm11/logreg_cd/bin_class.h | |
parent | 9572d31167162955a02276c1846ae4baefa7ee53 (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.h | 22 |
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 |