File label_sampling_round_robin.hpp

class RoundRobinLabelSamplingConfig : public ILabelSamplingConfig
#include <label_sampling_round_robin.hpp>

Allows to configure a method for sampling labels in a round-robin fashion.

Public Functions

virtual std::unique_ptr<ILabelSamplingFactory> createLabelSamplingFactory(const ILabelMatrix &labelMatrix) const override

Creates and returns a new object of type ILabelSamplingFactory according to the specified configuration.

Parameters:

labelMatrix – A reference to an object of type ILabelMatrix that provides access to the labels of the training examples

Returns:

An unique pointer to an object of type ILabelSamplingFactory that has been created