File example_weights_real_valued.hpp¶
Functions
-
std::unique_ptr<IRealValuedExampleWeights> createRealValuedExampleWeights(uint32 numExamples)¶
Creates and returns a new object of type
IRealValuedExampleWeightsin cases where the examples have real-valued weights.- Parameters:
numExamples – The total number of available examples
- Returns:
An unique pointer to an object of type
IRealValuedExampleWeightsthat have been created
-
class IRealValuedExampleWeights : public IExampleWeights¶
- #include <example_weights_real_valued.hpp>
Defines an interface for all classes that provide access to the weights of individual training examples in cases where the examples have real-valued weights.