File statistics_provider_decomposable_dense.hpp¶
-
namespace boosting
-
template<typename StatisticType>
class DenseDecomposableClassificationStatisticsProviderFactory : public IClassificationStatisticsProviderFactory¶ - #include <statistics_provider_decomposable_dense.hpp>
Allows to create instances of the class
IStatisticsProviderthat can be used in classification problems and provide access to an object of typeIDecomposableStatisticsusing dense data structures for storing the statistics.- Template Parameters:
StatisticType – The type of the statistics
Public Functions
-
DenseDecomposableClassificationStatisticsProviderFactory(std::unique_ptr<IDecomposableClassificationLossFactory<StatisticType>> lossFactoryPtr, std::unique_ptr<IClassificationEvaluationMeasureFactory<StatisticType>> evaluationMeasureFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, MultiThreadingSettings multiThreadingSettings)¶
- Parameters:
lossFactoryPtr – An unique pointer to an object of type
IDecomposableClassificationLossFactorythat allows to create implementations of the loss function that should be used for calculating gradients and HessiansevaluationMeasureFactoryPtr – An unique pointer to an object of type
IClassificationEvaluationMeasureFactorythat allows to create implementations of the evaluation measure that should be used for assessing the quality of predictionsdefaultRuleEvaluationFactoryPtr – An unique pointer to an object of type
IDecomposableRuleEvaluationFactorythat should be used for calculating the predictions, as well as corresponding quality scores, of the default ruleregularRuleEvaluationFactoryPtr – An unique pointer to an object of type
IDecomposableRuleEvaluationFactorythat should be used for calculating the predictions, as well as corresponding quality scores, of all remaining rulespruningRuleEvaluationFactoryPtr – An unique pointer to an object of type
IDecomposableRuleEvaluationFactorythat should be used for calculating the predictions, as well as corresponding quality scores, when pruning rulesmultiThreadingSettings – An object of type
MultiThreadingSettingsthat stores the settings to be used for calculating the initial statistics in parallel
-
std::unique_ptr<IStatisticsProvider> create(const CContiguousView<const uint8> &labelMatrix) const override¶
See also
IClassificationStatisticsProviderFactory::create
-
std::unique_ptr<IStatisticsProvider> create(const BinaryCsrView &labelMatrix) const override¶
See also
IClassificationStatisticsProviderFactory::create
Private Members
-
const std::unique_ptr<IDecomposableClassificationLossFactory<StatisticType>> lossFactoryPtr_¶
-
const std::unique_ptr<IClassificationEvaluationMeasureFactory<StatisticType>> evaluationMeasureFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr_¶
-
const MultiThreadingSettings multiThreadingSettings_¶
-
template<typename StatisticType>
class DenseDecomposableRegressionStatisticsProviderFactory : public IRegressionStatisticsProviderFactory¶ - #include <statistics_provider_decomposable_dense.hpp>
Allows to create instances of the class
IStatisticsProviderthat can be used in regression problems and provide access to an object of typeIDecomposableStatisticsusing dense data structures for storing the statistics.- Template Parameters:
StatisticType – The type of the statistics
Public Functions
-
DenseDecomposableRegressionStatisticsProviderFactory(std::unique_ptr<IDecomposableRegressionLossFactory<StatisticType>> lossFactoryPtr, std::unique_ptr<IRegressionEvaluationMeasureFactory<StatisticType>> evaluationMeasureFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, MultiThreadingSettings multiThreadingSettings)¶
- Parameters:
lossFactoryPtr – An unique pointer to an object of type
IDecomposableRegressionLossFactorythat allows to create implementations of the loss function that should be used for calculating gradients and HessiansevaluationMeasureFactoryPtr – An unique pointer to an object of type
IRegressionEvaluationMeasureFactorythat allows to create implementations of the evaluation measure that should be used for assessing the quality of predictionsdefaultRuleEvaluationFactoryPtr – An unique pointer to an object of type
IDecomposableRuleEvaluationFactorythat should be used for calculating the predictions, as well as corresponding quality scores, of the default ruleregularRuleEvaluationFactoryPtr – An unique pointer to an object of type
IDecomposableRuleEvaluationFactorythat should be used for calculating the predictions, as well as corresponding quality scores, of all remaining rulespruningRuleEvaluationFactoryPtr – An unique pointer to an object of type
IDecomposableRuleEvaluationFactorythat should be used for calculating the predictions, as well as corresponding quality scores, when pruning rulesmultiThreadingSettings – An object of type
MultiThreadingSettingthat stores the settings to be used for calculating the initial statistics in parallel
-
std::unique_ptr<IStatisticsProvider> create(const CContiguousView<const float32> ®ressionMatrix) const override¶
See also
IRegressionStatisticsProviderFactory::create
-
std::unique_ptr<IStatisticsProvider> create(const CsrView<const float32> ®ressionMatrix) const override¶
See also
IRegressionStatisticsProviderFactory::create
Private Members
-
const std::unique_ptr<IDecomposableRegressionLossFactory<StatisticType>> lossFactoryPtr_¶
-
const std::unique_ptr<IRegressionEvaluationMeasureFactory<StatisticType>> evaluationMeasureFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr_¶
-
const MultiThreadingSettings multiThreadingSettings_¶
-
template<typename StatisticType>