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:
ruleInductionConfig – A
ReadablePropertythat allows to access theIRuleInductionConfigthat stores the configuration of the algorithm for the induction of individual rulesdefaultRuleConfig – A
ReadablePropertythat allows to access theIDefaultRuleConfigthat stores the configuration of the default rule
-
virtual std::unique_ptr<IRuleModelAssemblageFactory> createRuleModelAssemblageFactory(const IFeatureMatrix &featureMatrix, const IOutputMatrix &outputMatrix) const override¶
Creates and returns a new object of type
IRuleModelAssemblageFactoryaccording to 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 row-wise access to the ground truth of the training examples
- Returns:
An unique pointer to an object of type
IRuleModelAssemblageFactorythat has been created
Private Members
-
const ReadableProperty<IRuleInductionConfig> ruleInductionConfig_¶
-
const ReadableProperty<IDefaultRuleConfig> defaultRuleConfig_¶
-
SequentialRuleModelAssemblageConfig(ReadableProperty<IRuleInductionConfig> ruleInductionConfig, ReadableProperty<IDefaultRuleConfig> defaultRuleConfig)¶