File predictor_probability_auto.hpp

namespace boosting
class AutomaticProbabilityPredictorConfig : public IProbabilityPredictorConfig
#include <predictor_probability_auto.hpp>

Allows to configure a predictor that automatically decides for a method that is used to predict probabilities for given query examples, which estimate the chance of individual labels to be relevant.

Public Functions

AutomaticProbabilityPredictorConfig(const std::unique_ptr<ILossConfig> &lossConfigPtr, const std::unique_ptr<IMultiThreadingConfig> &multiThreadingConfigPtr)
Parameters:
  • lossConfigPtr – A reference to an unique pointer that stores the configuration of the loss function

  • multiThreadingConfigPtr – A reference to an unique pointer that stores the configuration of the multi-threading behavior that should be used to predict for several query examples in parallel

std::unique_ptr<IProbabilityPredictorFactory> createPredictorFactory(const IRowWiseFeatureMatrix &featureMatrix, uint32 numLabels) const override

See also

IProbabilityPredictorConfig::createPredictorFactory

bool isLabelVectorSetNeeded() const override

See also

IPredictorConfig::isLabelVectorSetNeeded

Private Members

const std::unique_ptr<ILossConfig> &lossConfigPtr_
const std::unique_ptr<IMultiThreadingConfig> &multiThreadingConfigPtr_