File transformation_probability.hpp

namespace boosting
class IProbabilityTransformation
#include <transformation_probability.hpp>

Defines an interface for all classes that allow to transform aggregated scores into probability estimates.

Subclassed by boosting::LabelWiseProbabilityTransformation, boosting::MarginalizedProbabilityTransformation

Public Functions

inline virtual ~IProbabilityTransformation()
virtual void apply(View<float64>::const_iterator scoresBegin, View<float64>::const_iterator scoresEnd, View<float64>::iterator probabilitiesBegin, View<float64>::iterator probabilitiesEnd) const = 0

Transforms aggregated scores into probability estimates.

Parameters:
  • scoresBegin – An iterator to the beginning of the aggregated scores

  • scoresEnd – An iterator to the end of the the aggregated scores

  • probabilitiesBegin – An iterator to the beginning of the probabilities

  • probabilitiesEnd – An iterator to the end of the probabilities