File parallel_statistic_update_auto.hpp

namespace boosting
class AutoParallelStatisticUpdateConfig : public IMultiThreadingConfig
#include <parallel_statistic_update_auto.hpp>

Allows to configure the multi-threading behavior that is used for the parallel update of statistics by automatically deciding for the number of threads to be used.

Public Functions

AutoParallelStatisticUpdateConfig(const std::unique_ptr<ILossConfig> &lossConfigPtr)
Parameters:

lossConfigPtr – A reference to an unique pointer that stores the configuration of the loss function

uint32 getNumThreads(const IFeatureMatrix &featureMatrix, uint32 numLabels) const override

See also

IMultiThreadingConfig::getNumThreads

Private Members

const std::unique_ptr<ILossConfig> &lossConfigPtr_