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(const std::unique_ptr<IDefaultRuleConfig> &defaultRuleConfigPtr)¶
- Parameters:
defaultRuleConfigPtr – A reference to an unique pointer that stores the configuration of the default rule
-
virtual std::unique_ptr<IRuleModelAssemblageFactory> createRuleModelAssemblageFactory(const IRowWiseLabelMatrix &labelMatrix) const override¶
Creates and returns a new object of type
IRuleModelAssemblageFactory
according to specified configuration.- Parameters:
labelMatrix – A reference to an object of type
IRowWiseLabelMatrix
that provides row-wise access to the labels of the training examples- Returns:
An unique pointer to an object of type
IRuleModelAssemblageFactory
that has been created
Private Members
-
const std::unique_ptr<IDefaultRuleConfig> &defaultRuleConfigPtr_¶
-
SequentialRuleModelAssemblageConfig(const std::unique_ptr<IDefaultRuleConfig> &defaultRuleConfigPtr)¶