File rule_refinement_statistics_based.hpp

class StatisticsBasedRuleRefinementConfig : public IRuleRefinementConfig
#include <rule_refinement_statistics_based.hpp>

Allows to configure a method for finding the best refinements of existing rules based on statistics for individual examples.

Public Functions

StatisticsBasedRuleRefinementConfig(ReadableProperty<IMultiThreadingConfig> multiThreadingConfig)
Parameters:

multiThreadingConfig – A ReadableProperty that allows to access the IMultiThreadingConfig that stores the configuration of the multi-threading behavior that should be used for the parallel refinement of rules

virtual std::unique_ptr<IRuleRefinementFactory> createRuleRefinementFactory(const IFeatureMatrix &featureMatrix, uint32 numOutputs) const override

Creates and returns an new object of type IRuleRefinementFactory.

Parameters:
  • featureMatrix – A reference to an object of type IFeatureMatrix that provides access to the feature values of the training examples

  • numOutputs – The total number of available outputs

Returns:

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

Private Members

const ReadableProperty<IMultiThreadingConfig> multiThreadingConfig_