X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=include%2FPredictorWrapper.h;h=41f818f9e945b9fad97a79c6e08e865b56833c09;hb=209cfd9fe0ea398b794d1d1995629a826125f035;hp=fab949730a247b40ffcc8a0af34925168f3db7be;hpb=48adce31a0ffdb3757ee1be8a63ce7e769e87deb;p=trackerpp.git diff --git a/include/PredictorWrapper.h b/include/PredictorWrapper.h index fab9497..41f818f 100644 --- a/include/PredictorWrapper.h +++ b/include/PredictorWrapper.h @@ -3,6 +3,7 @@ #include "SharedPtr.h" #include +#include namespace suanzi { @@ -15,8 +16,8 @@ namespace suanzi { public: static PredictorWrapperPtr create(const std::string& fname); ~PredictorWrapper(){} - void dump() { this->dump_func(); } - void predict() { this->predict_func();} + void dump(); + double predict(int index, const std::vector& f); private: PredictorWrapper(const std::string& fname);