File predictor_binary_auto.hpp¶
-
namespace boosting
-
class AutomaticBinaryPredictorConfig : public IBinaryPredictorConfig¶
- #include <predictor_binary_auto.hpp>
Allows to configure a predictor that automatically decides for a method that is used to predict whether individual labels of given query examples are relevant or not.
Public Functions
-
AutomaticBinaryPredictorConfig(ReadableProperty<IClassificationLossConfig> lossConfig, ReadableProperty<IMultiThreadingConfig> multiThreadingConfig)¶
- Parameters:
lossConfig – A
ReadablePropertythat allows to access theIClassificationLossConfigthat stores the configuration of the loss functionmultiThreadingConfig – A
ReadablePropertythat allows to access theIMultiThreadingConfigthat stores the configuration of the multi-threading behavior that should be used to predict for several query examples in parallel
-
std::unique_ptr<IBinaryPredictorFactory> createPredictorFactory(const IRowWiseFeatureMatrix &featureMatrix, uint32 numOutputs) const override¶
See also
IPredictorConfig::createPredictorFactory
-
std::unique_ptr<ISparseBinaryPredictorFactory> createSparsePredictorFactory(const IRowWiseFeatureMatrix &featureMatrix, uint32 numLabels) const override¶
See also
IBinaryPredictorConfig::createSparsePredictorFactory
-
bool isLabelVectorSetNeeded() const override¶
See also
IPredictorConfig::isLabelVectorSetNeeded
Private Members
-
const ReadableProperty<IClassificationLossConfig> lossConfig_¶
-
const ReadableProperty<IMultiThreadingConfig> multiThreadingConfig_¶
-
AutomaticBinaryPredictorConfig(ReadableProperty<IClassificationLossConfig> lossConfig, ReadableProperty<IMultiThreadingConfig> multiThreadingConfig)¶
-
class AutomaticBinaryPredictorConfig : public IBinaryPredictorConfig¶