File post_processor.hpp

class IPostProcessor
#include <post_processor.hpp>

Defines an interface for all classes that allow to post-process the predictions of rules once they have been learned.

Public Functions

inline virtual ~IPostProcessor()
virtual void postProcess(View<float64>::iterator begin, View<float64>::iterator end) const = 0

Post-processes the prediction of a rule.

Parameters:
  • begin – An iterator to the beginning of the predictions

  • end – An iterator to the end of the predictions

class IPostProcessorFactory
#include <post_processor.hpp>

Defines an interface for all factories that allow to create instances of the type IPostProcessor.

Public Functions

inline virtual ~IPostProcessorFactory()
virtual std::unique_ptr<IPostProcessor> create() const = 0

Creates and returns a new object of type IPostProcessor.

Returns:

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

class IPostProcessorConfig
#include <post_processor.hpp>

Defines an interface for all classes that allow to configure a method that post-processes the predictions of rules once they have been learned.

Subclassed by NoPostProcessorConfig

Public Functions

inline virtual ~IPostProcessorConfig()
virtual std::unique_ptr<IPostProcessorFactory> createPostProcessorFactory() const = 0

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

Returns:

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