File rule_evaluation_non_decomposable_complete.hpp¶
-
namespace boosting
-
class NonDecomposableCompleteRuleEvaluationFactory : public boosting::INonDecomposableRuleEvaluationFactory¶
- #include <rule_evaluation_non_decomposable_complete.hpp>
Allows to create instances of the class
INonDecomposableRuleEvaluationFactorythat allow to calculate the predictions of complete rules, which predict for all available outputs.Public Functions
-
NonDecomposableCompleteRuleEvaluationFactory(float64 l1RegularizationWeight, float64 l2RegularizationWeight, const Blas &blas, const Lapack &lapack)¶
- Parameters:
l1RegularizationWeight – The weight of the L1 regularization that is applied for calculating the scores to be predicted by rules
l2RegularizationWeight – The weight of the L2 regularization that is applied for calculating the scores to be predicted by rules
blas – A reference to an object of type
Blasthat allows to execute BLAS routineslapack – An reference to an object of type
Lapackthat allows to execute BLAS routines
-
virtual std::unique_ptr<IRuleEvaluation<DenseNonDecomposableStatisticVector>> create(const DenseNonDecomposableStatisticVector &statisticVector, const CompleteIndexVector &indexVector) const override¶
Creates and returns a new object of type
IRuleEvaluationthat allows to calculate the predictions of rules that predict for all available outputs, based on the gradients and Hessians that are stored by aDenseNonDecomposableStatisticVector.- Parameters:
statisticVector – A reference to an object of type
DenseNonDecomposableStatisticVector. This vector is only used to identify the function that is able to deal with this particular type of vector via function overloadingindexVector – A reference to an object of type
CompleteIndexVectorthat provides access to the indices of the outputs for which the rules may predict
- Returns:
An unique pointer to an object of type
IRuleEvaluationthat has been created
-
virtual std::unique_ptr<IRuleEvaluation<DenseNonDecomposableStatisticVector>> create(const DenseNonDecomposableStatisticVector &statisticVector, const PartialIndexVector &indexVector) const override¶
Creates and returns a new object of type
IRuleEvaluationthat allows to calculate the predictions of rules that predict for a subset of the available outputs, based on the gradients and Hessians that are stored by aDenseNonDecomposableStatisticVector.- Parameters:
statisticVector – A reference to an object of type
DenseNonDecomposableStatisticVector. This vector is only used to identify the function that is able to deal with this particular type of vector via function overloadingindexVector – A reference to an object of type
PartialIndexVectorthat provides access to the indices of the outputs for which the rules may predict
- Returns:
An unique pointer to an object of type
IRuleEvaluationthat has been created
-
NonDecomposableCompleteRuleEvaluationFactory(float64 l1RegularizationWeight, float64 l2RegularizationWeight, const Blas &blas, const Lapack &lapack)¶
-
class NonDecomposableCompleteRuleEvaluationFactory : public boosting::INonDecomposableRuleEvaluationFactory¶