File default_rule_auto.hpp¶
-
namespace boosting
-
class AutomaticDefaultRuleConfig : public IDefaultRuleConfig¶
- #include <default_rule_auto.hpp>
Allows to configure a method that automatically decides whether a default rule should be included in a rule-based model or not.
Public Functions
-
AutomaticDefaultRuleConfig(ReadableProperty<IStatisticsConfig> statisticsConfig, ReadableProperty<ILossConfig> lossConfig, ReadableProperty<IHeadConfig> headConfig)¶
- Parameters:
statisticsConfig – A
ReadablePropertythat allows to access theIStatisticsConfigthat stores the configuration of the statisticslossConfig – A
ReadablePropertythat allows to access theILossConfigthat stores the configuration of the loss functionheadConfig – A
ReadablePropertythat allows to access theIHeadConfigthat stores the configuration of the rule heads
-
bool isDefaultRuleUsed(const IOutputMatrix &outputMatrix) const override¶
See also
IDefaultRuleConfig::isDefaultRuleUsed
Private Members
-
const ReadableProperty<IStatisticsConfig> statisticsConfig_¶
-
const ReadableProperty<ILossConfig> lossConfig_¶
-
const ReadableProperty<IHeadConfig> headConfig_¶
-
AutomaticDefaultRuleConfig(ReadableProperty<IStatisticsConfig> statisticsConfig, ReadableProperty<ILossConfig> lossConfig, ReadableProperty<IHeadConfig> headConfig)¶
-
class AutomaticDefaultRuleConfig : public IDefaultRuleConfig¶