File example_weights_equal.hpp

Functions

std::unique_ptr<IEqualExampleWeights> createEqualExampleWeights(uint32 numExamples)

Creates and returns a new object of type IEqualExampleWeights in cases where all examples have equal weights.

Parameters:

numExamples – The total number of available examples

Returns:

An unique pointer to an object of type IEqualExampleWeights that 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