33 #ifndef GRT_CLASS_LABEL_FILTER_HEADER
34 #define GRT_CLASS_LABEL_FILTER_HEADER
36 #include "../Util/GRTCommon.h"
37 #include "../CoreModules/PostProcessing.h"
105 virtual bool reset();
158 UINT
filter(UINT predictedClassLabel);
199 #endif //GRT_CLASS_LABEL_FILTER_HEADER
ClassLabelFilter(UINT minimumCount=1, UINT bufferSize=1)
virtual bool process(const VectorDouble &inputVector)
virtual bool saveModelToFile(std::string filename) const
bool setMinimumCount(UINT minimumCount)
UINT filter(UINT predictedClassLabel)
UINT minimumCount
The minimum count sets the minimum number of class label values that must be present in the class lab...
CircularBuffer< UINT > buffer
The class label filter buffer.
virtual bool deepCopyFrom(const PostProcessing *postProcessing)
UINT bufferSize
The size of the Class Label Filter buffer.
UINT getFilteredClassLabel()
UINT filteredClassLabel
The most recent filtered class label value.
virtual bool loadModelFromFile(std::string filename)
bool setBufferSize(UINT bufferSize)
ClassLabelFilter & operator=(const ClassLabelFilter &rhs)
virtual ~ClassLabelFilter()