26 #ifndef GRT_ANBC_HEADER 27 #define GRT_ANBC_HEADER 30 #include "../../CoreModules/Classifier.h" 34 #define MIN_SCALE_VALUE 1.0e-10 35 #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();
131 virtual bool save( std::fstream &file )
const;
140 virtual bool load( std::fstream &file );
196 static std::string
getId();
205 bool loadLegacyModelFromFile( std::fstream &file );
213 static const std::string id;
218 #endif // GRT_WEAK_CLASSIFIER_HEADER std::string getId() const
virtual bool recomputeNullRejectionThresholds()
virtual bool predict_(VectorFloat &inputVector)
VectorFloat getNullRejectionThresholds() const
virtual bool setNullRejectionCoeff(const Float nullRejectionCoeff)
virtual bool save(const std::string &filename) const
Vector< ANBC_Model > getModels()
This class implements a container for an ANBC model.
virtual bool deepCopyFrom(const Classifier *classifier)
virtual bool train_(ClassificationData &trainingData)
virtual bool load(const std::string &filename)
This is the main base class that all GRT Classification algorithms should inherit from...