File rule_model_assemblage_sequential.hpp

class SequentialRuleModelAssemblageConfig : public IRuleModelAssemblageConfig
#include <rule_model_assemblage_sequential.hpp>

Allows to configure an algorithm that sequentially induces several rules, optionally starting with a default rule, that are added to a rule-based model.

Public Functions

SequentialRuleModelAssemblageConfig(ReadableProperty<IRuleInductionConfig> ruleInductionConfig, ReadableProperty<IDefaultRuleConfig> defaultRuleConfig)
Parameters:
virtual std::unique_ptr<IRuleModelAssemblageFactory> createRuleModelAssemblageFactory(const IFeatureMatrix &featureMatrix, const IOutputMatrix &outputMatrix) const override

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

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

  • outputMatrix – A reference to an object of type IOutputMatrix that provides row-wise access to the ground truth of the training examples

Returns:

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

Private Members

const ReadableProperty<IRuleInductionConfig> ruleInductionConfig_
const ReadableProperty<IDefaultRuleConfig> defaultRuleConfig_