File parallel_rule_refinement_auto.hpp¶
-
namespace boosting
-
class AutoParallelRuleRefinementConfig : public IMultiThreadingConfig¶
- #include <parallel_rule_refinement_auto.hpp>
Allows to configure the multi-threading behavior that is used for the parallel refinement of rules by automatically deciding for the number of threads to be used.
Public Functions
-
AutoParallelRuleRefinementConfig(ReadableProperty<ILossConfig> lossConfig, ReadableProperty<IHeadConfig> headConfig, ReadableProperty<IFeatureSamplingConfig> featureSamplingConfig)¶
- Parameters:
lossConfig – 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 headsfeatureSamplingConfig – A
ReadablePropertythat allows to access theIFeatureSamplingConfigthat stores the configuration of the method for sampling features
-
MultiThreadingSettings getSettings(const IFeatureMatrix &featureMatrix, uint32 numOutputs) const override¶
See also
IMultiThreadingConfig::getSettings
Private Members
-
const ReadableProperty<ILossConfig> lossConfig_¶
-
const ReadableProperty<IHeadConfig> headConfig_¶
-
const ReadableProperty<IFeatureSamplingConfig> featureSamplingConfig_¶
-
AutoParallelRuleRefinementConfig(ReadableProperty<ILossConfig> lossConfig, ReadableProperty<IHeadConfig> headConfig, ReadableProperty<IFeatureSamplingConfig> featureSamplingConfig)¶
-
class AutoParallelRuleRefinementConfig : public IMultiThreadingConfig¶