File statistics_provider_decomposable_sparse.hpp¶
-
namespace seco
-
template<typename VectorMath>
class SparseDecomposableStatisticsProviderFactory : public IClassificationStatisticsProviderFactory¶ - #include <statistics_provider_decomposable_sparse.hpp>
Allows to create instances of the class
IStatisticsProviderthat provide access to an object of typeIDecomposableStatisticsusing sparse data structures for storing the statistics.- Template Parameters:
VectorMath – The type that implements basic operations for calculating with numerical arrays
Public Functions
-
SparseDecomposableStatisticsProviderFactory(std::unique_ptr<IDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr, std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr)¶
- Parameters:
defaultRuleEvaluationFactoryPtr – 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 rules
-
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<IDecomposableRuleEvaluationFactory> defaultRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> regularRuleEvaluationFactoryPtr_¶
-
const std::unique_ptr<IDecomposableRuleEvaluationFactory> pruningRuleEvaluationFactoryPtr_¶
-
template<typename VectorMath>