39 #ifndef GRT_ANBC_HEADER
40 #define GRT_ANBC_HEADER
43 #include "../../CoreModules/Classifier.h"
47 #define MIN_SCALE_VALUE 1.0e-10
48 #define MAX_SCALE_VALUE 1
60 ANBC(
bool useScaling=
false,
bool useNullRejection=
false,
double nullRejectionCoeff=10.0);
114 virtual bool reset();
122 virtual bool clear();
211 #endif // GRT_WEAK_CLASSIFIER_HEADER
virtual bool predict(VectorFloat inputVector)
bool loadLegacyModelFromFile(std::fstream &file)
virtual bool predict_(VectorFloat &inputVector)
virtual bool deepCopyFrom(const Classifier *classifier)
bool setWeights(const ClassificationData &weightsData)
virtual bool train(ClassificationData trainingData)
virtual bool loadModelFromFile(std::fstream &file)
ANBC(bool useScaling=false, bool useNullRejection=false, double nullRejectionCoeff=10.0)
virtual bool recomputeNullRejectionThresholds()
VectorFloat getNullRejectionThresholds() const
Vector< ANBC_Model > getModels()
This class implements a container for an ANBC model.
virtual bool train_(ClassificationData &trainingData)
ANBC & operator=(const ANBC &rhs)
virtual bool saveModelToFile(std::string filename) const
virtual bool predict_(VectorFloat &inputVector)
virtual bool loadModelFromFile(std::string filename)
virtual bool saveModelToFile(std::fstream &file) const
virtual bool train_(ClassificationData &trainingData)
bool setNullRejectionCoeff(double nullRejectionCoeff)