5 #include <boost/python.hpp>
9 TK_DECLARE_PTR(PredictorWrapper);
11 typedef boost::python::object PY_FUN;
13 class PredictorWrapper
16 static PredictorWrapperPtr create(const std::string& fname);
18 void dump() { this->dump_func(); }
19 void predict() { this->predict_func();}
22 PredictorWrapper(const std::string& fname);
23 static PredictorWrapperWPtr instance;
32 #endif // _PREDICTOR_H_