File partition_sampling_auto.hpp¶
-
namespace boosting
-
class AutomaticPartitionSamplingConfig : public IClassificationPartitionSamplingConfig, public IRegressionPartitionSamplingConfig¶
- #include <partition_sampling_auto.hpp>
Allows to configure a method that automatically decides for a method that partitions the available training examples into a training set and a holdout set, depending on whether a holdout set is needed and depending on the loss function.
Public Functions
-
AutomaticPartitionSamplingConfig(ReadableProperty<RNGConfig> rngConfig, ReadableProperty<IGlobalPruningConfig> globalPruningConfig, ReadableProperty<IMarginalProbabilityCalibratorConfig> marginalProbabilityCalibratorConfig, ReadableProperty<IJointProbabilityCalibratorConfig> jointProbabilityCalibratorConfig)¶
- Parameters:
rngConfig – A
ReadablePropertythat allows to access theRNGConfigthat stores the configuration of random number generatorsglobalPruningConfig – A
ReadablePropertythat allows to access theIGlobalPruningConfigthat stores the configuration of the method that is used for pruning entire rulesmarginalProbabilityCalibratorConfig – A
ReadablePropertythat allows to access theIMarginalProbabilityCalibratorConfigthat stores the configuration of the calibrator that is used to fit a model for the calibration of marginal probabilitiesjointProbabilityCalibratorConfig – A
ReadablePropertythat allows to access theIJointProbabilityCalibratorConfigthat stores the configuration of the calibrator that is used to fit a model for the calibration of joint probabilities
-
std::unique_ptr<IClassificationPartitionSamplingFactory> createClassificationPartitionSamplingFactory() const override¶
See also
IClassificationPartitionSamplingConfig::createClassificationPartitionSamplingFactory
-
std::unique_ptr<IRegressionPartitionSamplingFactory> createRegressionPartitionSamplingFactory() const override¶
See also
IRegressionPartitionSamplingConfig::createClassificationPartitionSamplingFactory
Private Members
-
const ReadableProperty<RNGConfig> rngConfig_¶
-
const ReadableProperty<IGlobalPruningConfig> globalPruningConfig_¶
-
const ReadableProperty<IMarginalProbabilityCalibratorConfig> marginalProbabilityCalibratorConfig_¶
-
const ReadableProperty<IJointProbabilityCalibratorConfig> jointProbabilityCalibratorConfig_¶
-
AutomaticPartitionSamplingConfig(ReadableProperty<RNGConfig> rngConfig, ReadableProperty<IGlobalPruningConfig> globalPruningConfig, ReadableProperty<IMarginalProbabilityCalibratorConfig> marginalProbabilityCalibratorConfig, ReadableProperty<IJointProbabilityCalibratorConfig> jointProbabilityCalibratorConfig)¶
-
class AutomaticPartitionSamplingConfig : public IClassificationPartitionSamplingConfig, public IRegressionPartitionSamplingConfig¶