File heuristic_accuracy.hpp¶
-
namespace seco
-
class AccuracyConfig : public seco::IHeuristicConfig¶
- #include <heuristic_accuracy.hpp>
i Allows to configure a heuristic that measures the fraction of correctly predicted labels among all labels, i.e., in contrast to the “Precision” metric, examples that are not covered by a rule are taken into account as well.
This heuristic is used in the pruning phase of IREP (see “Incremental Reduced Error Pruning”, Fürnkranz, Widmer, 1994).
Public Functions
-
virtual std::unique_ptr<IHeuristicFactory> createHeuristicFactory() const override¶
Creates and returns a new object of type
IHeuristicFactoryaccording to the specified configuration.- Returns:
An unique pointer to an object of type
IHeuristicFactorythat has been created
-
virtual std::unique_ptr<IHeuristicFactory> createHeuristicFactory() const override¶
-
class AccuracyConfig : public seco::IHeuristicConfig¶