File head_type.hpp¶
-
namespace seco
-
class IHeadConfig¶
- #include <head_type.hpp>
Defines an interface for all classes that allow to configure the heads of the rules that should be induced by a rule learner.
Subclassed by seco::PartialHeadConfig, seco::SingleLabelHeadConfig
Public Functions
-
inline virtual ~IHeadConfig()¶
-
virtual std::unique_ptr<IStatisticsProviderFactory> createStatisticsProviderFactory(const IRowWiseLabelMatrix &labelMatrix) const = 0¶
Creates and returns a new object of type
IStatisticsProviderFactory
according to the 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
IStatisticsProviderFactory
that has been created
-
inline virtual ~IHeadConfig()¶
-
class IHeadConfig¶