projects
/
trackerpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
complete the metris functions
[trackerpp.git]
/
include
/
PredictorWrapper.h
diff --git
a/include/PredictorWrapper.h
b/include/PredictorWrapper.h
index
ac54f73
..
41f818f
100644
(file)
--- a/
include/PredictorWrapper.h
+++ b/
include/PredictorWrapper.h
@@
-3,6
+3,7
@@
#include "SharedPtr.h"
#include <boost/python.hpp>
#include "SharedPtr.h"
#include <boost/python.hpp>
+#include <vector>
namespace suanzi {
namespace suanzi {
@@
-16,7
+17,7
@@
namespace suanzi {
static PredictorWrapperPtr create(const std::string& fname);
~PredictorWrapper(){}
void dump();
static PredictorWrapperPtr create(const std::string& fname);
~PredictorWrapper(){}
void dump();
- double predict();
+ double predict(
int index, const std::vector<double>& f
);
private:
PredictorWrapper(const std::string& fname);
private:
PredictorWrapper(const std::string& fname);