9 #ifndef META_LOGISTIC_REGRESSION_H_
10 #define META_LOGISTIC_REGRESSION_H_
70 std::shared_ptr<index::forward_index> idx,
84 std::unordered_map<class_label, double>
predict(doc_id d_id);
86 virtual class_label
classify(doc_id d_id)
override;
88 virtual void train(
const std::vector<doc_id>& docs)
override;
90 virtual void reset()
override;
93 const static std::string
id;
107 std::unique_ptr<classifier>
109 std::shared_ptr<index::forward_index>);