10 #ifndef META_BINARY_CLASSIFIER_FACTORY_H_
11 #define META_BINARY_CLASSIFIER_FACTORY_H_
33 :
public util::factory<binary_classifier_factory, binary_classifier,
34 const cpptoml::table&,
35 std::shared_ptr<index::forward_index>, class_label,
49 template <
class Classifier>
69 std::unique_ptr<binary_classifier>
71 std::shared_ptr<index::forward_index> idx,
72 class_label positive, class_label negative);
89 template <
class Classifier>
90 std::unique_ptr<binary_classifier>
92 std::shared_ptr<index::forward_index> idx,
93 class_label positive, class_label negative)
95 return make_unique<Classifier>(std::move(idx), positive, negative);
102 template <
class Classifier>
106 make_binary_classifier<Classifier>);
Definition: analyzer.h:19