#include "SharedPtr.h"
#include <boost/python.hpp>
+#include <vector>
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<double>& f);
private:
PredictorWrapper(const std::string& fname);