33 #ifndef GRT_RADIAL_BASIC_FUNCTION_HEADER
34 #define GRT_RADIAL_BASIC_FUNCTION_HEADER
54 RadialBasisFunction(UINT numSteps=100,Float positiveClassificationThreshold=0.9,Float minAlphaSearchRange=0.001,Float maxAlphaSearchRange=1.0);
116 virtual void print()
const;
166 Float positiveClassificationThreshold;
169 Float minAlphaSearchRange;
170 Float maxAlphaSearchRange;
178 #endif // GRT_DECISION_STUMP_HEADER
virtual bool train(ClassificationData &trainingData, VectorFloat &weights)
virtual Float predict(const VectorFloat &x)
virtual bool loadModelFromFile(std::fstream &file)
virtual bool deepCopyFrom(const WeakClassifier *weakClassifer)
virtual ~RadialBasisFunction()
RadialBasisFunction & operator=(const RadialBasisFunction &rhs)
virtual void print() const
Float getMinAlphaSearchRange() const
This is the main base class for all GRT WeakClassifiers.
static RegisterWeakClassifierModule< RadialBasisFunction > registerModule
This is used to register the DecisionStump with the WeakClassifier base class.
virtual bool saveModelToFile(std::fstream &file) const
VectorFloat getRBFCentre() const
Float getMaxAlphaSearchRange() const
RadialBasisFunction(UINT numSteps=100, Float positiveClassificationThreshold=0.9, Float minAlphaSearchRange=0.001, Float maxAlphaSearchRange=1.0)
Float getPositiveClassificationThreshold() const