File statistics_provider_non_decomposable_dense.hpp¶
-
namespace boosting
-
class DenseNonDecomposableClassificationStatisticsProviderFactory : public IClassificationStatisticsProviderFactory¶
- #include <statistics_provider_non_decomposable_dense.hpp>
Allows to create instances of the class
IStatisticsProviderthat can be used in classification problems and provide access to an object of typeINonDecomposableStatisticsusing dense data structures for storing the statistics.Public Functions
-
DenseNonDecomposableClassificationStatisticsProviderFactory(std::unique_ptr<INonDecomposableClassificationLossFactory> lossFactoryPtr, std::unique_ptr<IClassificationEvaluationMeasureFactory> evaluationMeasureFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, uint32 numThreads)¶
- Parameters:
lossFactoryPtr – An unique pointer to an object of type
INonDecomposableClassificationLossFactorythat 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
INonDecomposableRuleEvaluationFactorythat 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
INonDecomposableRuleEvaluationFactorythat 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
INonDecomposableRuleEvaluationFactorythat should be used for calculating the predictions, as well as corresponding quality scores, when pruning rulesnumThreads – The number of CPU threads to be used to calculate the initial statistics in parallel. Must be at least 1
-
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<INonDecomposableClassificationLossFactory> lossFactoryPtr_¶
-
const std::unique_ptr<IClassificationEvaluationMeasureFactory> evaluationMeasureFactoryPtr_¶
-
const std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<INonDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<INonDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr_¶
-
DenseNonDecomposableClassificationStatisticsProviderFactory(std::unique_ptr<INonDecomposableClassificationLossFactory> lossFactoryPtr, std::unique_ptr<IClassificationEvaluationMeasureFactory> evaluationMeasureFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, uint32 numThreads)¶
-
class DenseNonDecomposableRegressionStatisticsProviderFactory : public IRegressionStatisticsProviderFactory¶
- #include <statistics_provider_non_decomposable_dense.hpp>
Allows to create instances of the class
IStatisticsProviderthat can be used in regression problems and provide access to an object of typeINonDecomposableStatisticsusing dense data structures for storing the statistics.Public Functions
-
DenseNonDecomposableRegressionStatisticsProviderFactory(std::unique_ptr<INonDecomposableRegressionLossFactory> lossFactoryPtr, std::unique_ptr<IRegressionEvaluationMeasureFactory> evaluationMeasureFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, uint32 numThreads)¶
- Parameters:
lossFactoryPtr – An unique pointer to an object of type
INonDecomposableRegressionLossFactorythat 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
INonDecomposableRuleEvaluationFactorythat 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
INonDecomposableRuleEvaluationFactorythat 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
INonDecomposableRuleEvaluationFactorythat should be used for calculating the predictions, as well as corresponding quality scores, when pruning rulesnumThreads – The number of CPU threads to be used to calculate the initial statistics in parallel. Must be at least 1
-
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<INonDecomposableRegressionLossFactory> lossFactoryPtr_¶
-
const std::unique_ptr<IRegressionEvaluationMeasureFactory> evaluationMeasureFactoryPtr_¶
-
const std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<INonDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<INonDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr_¶
-
DenseNonDecomposableRegressionStatisticsProviderFactory(std::unique_ptr<INonDecomposableRegressionLossFactory> lossFactoryPtr, std::unique_ptr<IRegressionEvaluationMeasureFactory> evaluationMeasureFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, uint32 numThreads)¶
-
class DenseConvertibleNonDecomposableClassificationStatisticsProviderFactory : public IClassificationStatisticsProviderFactory¶
- #include <statistics_provider_non_decomposable_dense.hpp>
Allows to create instances of the class
IStatisticsProviderthat provide access to an object of typeINonDecomposableStatistics, which uses dense data structures to store the statistics and can be converted into an object of typeIDecomposableStatistics.Public Functions
-
DenseConvertibleNonDecomposableClassificationStatisticsProviderFactory(std::unique_ptr<INonDecomposableClassificationLossFactory> lossFactoryPtr, std::unique_ptr<IClassificationEvaluationMeasureFactory> evaluationMeasureFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, uint32 numThreads)¶
- Parameters:
lossFactoryPtr – An unique pointer to an object of type
INonDecomposableClassificationLossFactorythat 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
INonDecomposableRuleEvaluationFactorythat 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 rulesnumThreads – The number of CPU threads to be used to calculate the initial statistics in parallel. Must be at least 1
-
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<INonDecomposableClassificationLossFactory> lossFactoryPtr_¶
-
const std::unique_ptr<IClassificationEvaluationMeasureFactory> evaluationMeasureFactoryPtr_¶
-
const std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr_¶
-
DenseConvertibleNonDecomposableClassificationStatisticsProviderFactory(std::unique_ptr<INonDecomposableClassificationLossFactory> lossFactoryPtr, std::unique_ptr<IClassificationEvaluationMeasureFactory> evaluationMeasureFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, uint32 numThreads)¶
-
class DenseConvertibleNonDecomposableRegressionStatisticsProviderFactory : public IRegressionStatisticsProviderFactory¶
- #include <statistics_provider_non_decomposable_dense.hpp>
Allows to create instances of the class
IStatisticsProviderthat provide access to an object of typeINonDecomposableStatistics, which uses dense data structures to store the statistics and can be converted into an object of typeIDecomposableStatistics.Public Functions
-
DenseConvertibleNonDecomposableRegressionStatisticsProviderFactory(std::unique_ptr<INonDecomposableRegressionLossFactory> lossFactoryPtr, std::unique_ptr<IRegressionEvaluationMeasureFactory> evaluationMeasureFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, uint32 numThreads)¶
- Parameters:
lossFactoryPtr – An unique pointer to an object of type
INonDecomposableRegressionLossFactorythat 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
INonDecomposableRuleEvaluationFactorythat 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 rulesnumThreads – The number of CPU threads to be used to calculate the initial statistics in parallel. Must be at least 1
-
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<INonDecomposableRegressionLossFactory> lossFactoryPtr_¶
-
const std::unique_ptr<IRegressionEvaluationMeasureFactory> evaluationMeasureFactoryPtr_¶
-
const std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr_¶
-
DenseConvertibleNonDecomposableRegressionStatisticsProviderFactory(std::unique_ptr<INonDecomposableRegressionLossFactory> lossFactoryPtr, std::unique_ptr<IRegressionEvaluationMeasureFactory> evaluationMeasureFactoryPtr, std::unique_ptr<INonDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr, uint32 numThreads)¶
-
class DenseNonDecomposableClassificationStatisticsProviderFactory : public IClassificationStatisticsProviderFactory¶