File example_weights_equal.hpp¶
Functions
-
std::unique_ptr<IEqualExampleWeights> createEqualExampleWeights(uint32 numExamples)¶
Creates and returns a new object of type
IEqualExampleWeightsin cases where all examples have equal weights.- Parameters:
numExamples – The total number of available examples
- Returns:
An unique pointer to an object of type
IEqualExampleWeightsthat have been created
-
class IEqualExampleWeights : public IExampleWeights¶
- #include <example_weights_equal.hpp>
Defines an interface for all classes that provide access to the weights of individual training examples in cases where all examples have equal weights.
Public Functions
-
inline virtual ~IEqualExampleWeights() override¶
-
inline virtual ~IEqualExampleWeights() override¶