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(const std::unique_ptr<ILossConfig> &lossConfigPtr, const std::unique_ptr<IHeadConfig> &headConfigPtr, const std::unique_ptr<IFeatureSamplingConfig> &featureSamplingConfigPtr)¶
- Parameters:
lossConfigPtr – A reference to an unique pointer that stores the configuration of the loss function
headConfigPtr – A reference to an unique pointer that stores the configuration of rule heads
featureSamplingConfigPtr – A reference to an unique pointer that stores the configuration of the method for sampling features
-
uint32 getNumThreads(const IFeatureMatrix &featureMatrix, uint32 numLabels) const override¶
See also
IMultiThreadingConfig::getNumThreads
Private Members
-
const std::unique_ptr<ILossConfig> &lossConfigPtr_¶
-
const std::unique_ptr<IHeadConfig> &headConfigPtr_¶
-
const std::unique_ptr<IFeatureSamplingConfig> &featureSamplingConfigPtr_¶
-
AutoParallelRuleRefinementConfig(const std::unique_ptr<ILossConfig> &lossConfigPtr, const std::unique_ptr<IHeadConfig> &headConfigPtr, const std::unique_ptr<IFeatureSamplingConfig> &featureSamplingConfigPtr)¶
-
class AutoParallelRuleRefinementConfig : public IMultiThreadingConfig¶