File post_optimization_unused_rule_removal.hpp¶
-
class UnusedRuleRemovalConfig : public IPostOptimizationPhaseConfig¶
- #include <post_optimization_unused_rule_removal.hpp>
Allows to configure a method that removes unused rules from a model.
Public Functions
-
virtual std::unique_ptr<IPostOptimizationPhaseFactory> createPostOptimizationPhaseFactory(const IFeatureMatrix &featureMatrix, const IOutputMatrix &outputMatrix) const override¶
Creates and returns a new object of type
IPostOptimizationPhaseFactoryaccording to the specified configuration.- Parameters:
featureMatrix – A reference to an object of type
IFeatureMatrixthat provides access to the feature values of the training examplesoutputMatrix – A reference to an object of type
IOutputMatrixthat provides access to the ground truth of the training examples
- Returns:
An unique pointer to an object of type
IPostOptimizationPhaseFactorythat has been created
-
virtual std::unique_ptr<IPostOptimizationPhaseFactory> createPostOptimizationPhaseFactory(const IFeatureMatrix &featureMatrix, const IOutputMatrix &outputMatrix) const override¶