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 ReadableProperty that allows to access the ILossConfig that stores the configuration of the loss function

  • headConfig – A ReadableProperty that allows to access the IHeadConfig that stores the configuration of the rule heads

  • featureSamplingConfig – A ReadableProperty that allows to access the IFeatureSamplingConfig that 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_