File statistics_decomposable.hpp¶
-
namespace boosting
-
template<typename RuleEvaluationFactory>
class IDecomposableStatistics : public virtual boosting::IBoostingStatistics¶ - #include <statistics_decomposable.hpp>
Defines an interface for all classes that store gradients and Hessians that have been calculated according to a decomposable loss function.
- Template Parameters:
RuleEvaluationFactory – The type of the classes that may be used for calculating the predictions of rules, as well as their overall quality
Public Functions
-
inline virtual ~IDecomposableStatistics() override¶
-
virtual void setRuleEvaluationFactory(const RuleEvaluationFactory &ruleEvaluationFactory) = 0¶
Sets the factory that allows to create instances of the class that is used for calculating the predictions of rules, as well as their overall quality
- Parameters:
ruleEvaluationFactory – A reference to an object of template type
RuleEvaluationFactoryto be set
-
template<typename RuleEvaluationFactory>