File label_sampling_no.hpp

class NoLabelSamplingConfig : public ILabelSamplingConfig
#include <label_sampling_no.hpp>

Allows to configure a method for sampling labels that does not perform any sampling, but includes all labels.

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