5 #include <boost/python.hpp>
10 TK_DECLARE_PTR(PredictorWrapper);
12 typedef boost::python::object PY_FUN;
14 class PredictorWrapper
17 static PredictorWrapperPtr create(const std::string& fname);
20 double predict(int index, const std::vector<double>& f);
23 PredictorWrapper(const std::string& fname);
24 static PredictorWrapperWPtr instance;
33 #endif // _PREDICTOR_H_