File global_pruning_no.hpp

class NoGlobalPruningConfig : public IGlobalPruningConfig
#include <global_pruning_no.hpp>

Allows to configure a stopping criterion that does not actually perform any global pruning.

Public Functions

virtual std::unique_ptr<IStoppingCriterionFactory> createStoppingCriterionFactory() const override

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

Returns:

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

virtual bool shouldUseHoldoutSet() const override

virtual bool shouldRemoveUnusedRules() const override