File instance_sampling_no.hpp¶
-
class NoInstanceSamplingConfig : public IInstanceSamplingConfig¶
- #include <instance_sampling_no.hpp>
Allows to configure a method for sampling training examples that does not perform any sampling, but assigns equal weights to all examples.
Public Functions
-
virtual std::unique_ptr<IInstanceSamplingFactory> createInstanceSamplingFactory() const override¶
Creates and returns a new object of type
IInstanceSamplingFactory
according to the specified configuration.- Returns:
An unique pointer to an object of type
IInstanceSamplingFactory
that has been created
-
virtual std::unique_ptr<IInstanceSamplingFactory> createInstanceSamplingFactory() const override¶