mlrl.boosting.config.parameters module¶
Author: Michael Rapp (michael.rapp.ml@gmail.com)
Provides utility function for configuring boosting algorithms.
- class mlrl.boosting.config.parameters.BinaryPredictorParameter¶
Bases:
NominalParameterA parameter that allows to configure the strategy to be used for predicting binary labels.
- BINARY_PREDICTOR_EXAMPLE_WISE = 'example-wise'¶
- BINARY_PREDICTOR_GFM = 'gfm'¶
- BINARY_PREDICTOR_OUTPUT_WISE = 'output-wise'¶
- class mlrl.boosting.config.parameters.ClassificationLossParameter¶
Bases:
RegressionLossParameterA parameter that allows to configure the loss function to be minimized during training in classification problems.
- LOSS_LOGISTIC_DECOMPOSABLE = 'logistic-decomposable'¶
- LOSS_LOGISTIC_NON_DECOMPOSABLE = 'logistic-non-decomposable'¶
- LOSS_SQUARED_HINGE_DECOMPOSABLE = 'squared-hinge-decomposable'¶
- LOSS_SQUARED_HINGE_NON_DECOMPOSABLE = 'squared-hinge-non-decomposable'¶
- class mlrl.boosting.config.parameters.DefaultRuleParameter¶
Bases:
NominalParameterA parameter that allows to configure whether a default rule should be induced or not.
- class mlrl.boosting.config.parameters.ExtendedFeatureBinningParameter¶
Bases:
FeatureBinningParameterExtends the FeatureBinningParameter by a value for automatic configuration.
- class mlrl.boosting.config.parameters.ExtendedParallelRuleRefinementParameter¶
Bases:
ParallelRuleRefinementParameterExtends the ParallelRuleRefinementParameter by a value for automatic configuration.
- class mlrl.boosting.config.parameters.ExtendedParallelStatisticUpdateParameter¶
Bases:
ParallelStatisticUpdateParameterExtends the ParallelStatisticUpdateParameter by a value for automatic configuration.
- class mlrl.boosting.config.parameters.ExtendedPartitionSamplingParameter¶
Bases:
PartitionSamplingParameterExtends the PartitionSamplingParameter by a value for automatic configuration.
- class mlrl.boosting.config.parameters.HeadTypeParameter¶
Bases:
NominalParameterA parameter that allows to configure the type of the rule heads that should be used.
- HEAD_TYPE_COMPLETE = 'complete'¶
- HEAD_TYPE_PARTIAL_DYNAMIC = 'partial-dynamic'¶
- HEAD_TYPE_PARTIAL_FIXED = 'partial-fixed'¶
- HEAD_TYPE_SINGLE = 'single'¶
- OPTION_EXPONENT = 'exponent'¶
- OPTION_MAX_OUTPUTS = 'max_outputs'¶
- OPTION_MIN_OUTPUTS = 'min_outputs'¶
- OPTION_OUTPUT_RATIO = 'output_ratio'¶
- OPTION_THRESHOLD = 'threshold'¶
- class mlrl.boosting.config.parameters.JointProbabilityCalibrationParameter¶
Bases:
NominalParameterA parameter that allows to configure the method to be used for the calibration of joint probabilities.
- class mlrl.boosting.config.parameters.L1RegularizationParameter¶
Bases:
FloatParameterA parameter that allows to configure the weight of the L1 regularization.
- class mlrl.boosting.config.parameters.L2RegularizationParameter¶
Bases:
FloatParameterA parameter that allows to configure the weight of the L2 regularization.
- class mlrl.boosting.config.parameters.LabelBinningParameter¶
Bases:
NominalParameterA parameter that allows to configure the strategy to be used for gradient-based label binning (GBLB).
- class mlrl.boosting.config.parameters.MarginalProbabilityCalibrationParameter¶
Bases:
NominalParameterA parameter that allows to configure the method to be used for the calibration of marginal probabilities.
- class mlrl.boosting.config.parameters.ProbabilityPredictorParameter¶
Bases:
NominalParameterA parameter that allows to configure the strategy to be used for predicting probabilities.
- PROBABILITY_PREDICTOR_MARGINALIZED = 'marginalized'¶
- PROBABILITY_PREDICTOR_OUTPUT_WISE = 'output-wise'¶
- class mlrl.boosting.config.parameters.RegressionLossParameter¶
Bases:
NominalParameterA parameter that allows to configure the loss function to be minimized during training in regression problems.
- LOSS_SQUARED_ERROR_DECOMPOSABLE = 'squared-error-decomposable'¶
- LOSS_SQUARED_ERROR_NON_DECOMPOSABLE = 'squared-error-non-decomposable'¶
- class mlrl.boosting.config.parameters.ShrinkageParameter¶
Bases:
FloatParameterA parameter that allows to configure the shrinkage parameter, a.k.a. the learning rate, to be used.
- class mlrl.boosting.config.parameters.StatisticFormatParameter¶
Bases:
NominalParameterA parameter that allows to configure the format to be used for the representation of gradients and Hessians.
- STATISTIC_FORMAT_DENSE = 'dense'¶
- STATISTIC_FORMAT_SPARSE = 'sparse'¶
- class mlrl.boosting.config.parameters.StatisticTypeParameter¶
Bases:
NominalParameterA parameter that allows to configure the data type that should be used for representing gradients and Hessians.
- STATISTIC_TYPE_FLOAT32 = '32-bit'¶
- STATISTIC_TYPE_FLOAT64 = '64-bit'¶