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
9ceb21a
..
41f818f
100644
(file)
--- a/
include/PredictorWrapper.h
+++ b/
include/PredictorWrapper.h
@@
-17,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(int index,
std::vector<double>
f);
+ double predict(int index,
const std::vector<double>&
f);
private:
PredictorWrapper(const std::string& fname);
private:
PredictorWrapper(const std::string& fname);