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);