File partition_sampling_no.hpp

class NoPartitionSamplingConfig : public IClassificationPartitionSamplingConfig, public IRegressionPartitionSamplingConfig
#include <partition_sampling_no.hpp>

Allows to configure a method for partitioning the available training examples into a training set and a holdout set that does not split the training examples, but includes all of them in the training set.

Public Functions

virtual std::unique_ptr<IClassificationPartitionSamplingFactory> createClassificationPartitionSamplingFactory() const override

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

Returns:

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

virtual std::unique_ptr<IRegressionPartitionSamplingFactory> createRegressionPartitionSamplingFactory() const override

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

Returns:

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