File heuristic_precision.hpp

namespace seco
class PrecisionConfig : public seco::IHeuristicConfig
#include <heuristic_precision.hpp>

Allows to configure a heuristic that measures the fraction of correctly predicted labels among all labels that are covered by a rule.

This heuristic is equivalent to RIPPER’s pruning heuristic (see “Fast Effective Rule Induction”, Cohen, 1995). A proof is provided in the paper “Roc ‘n’ Rule Learning — Towards a Better Understanding of Covering Algorithms”, Fürnkranz, Flach, 2005.

Public Functions

virtual std::unique_ptr<IHeuristicFactory> createHeuristicFactory() const override

Creates and returns a new object of type IHeuristicFactory according to the specified configuration.

Returns:

An unique pointer to an object of type IHeuristicFactory that has been created