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;
123 UINT getNumSteps()
const;
132 Float getPositiveClassificationThreshold()
const;
139 Float getAlpha()
const;
146 Float getMinAlphaSearchRange()
const;
153 Float getMaxAlphaSearchRange()
const;
166 Float positiveClassificationThreshold;
169 Float minAlphaSearchRange;
170 Float maxAlphaSearchRange;
178 #endif // GRT_DECISION_STUMP_HEADER virtual Float predict(const VectorFloat &x)
virtual bool deepCopyFrom(const WeakClassifier *weakClassifer)
virtual bool saveModelToFile(std::fstream &file) const
virtual bool train(ClassificationData &trainingData, VectorFloat &weights)
This is the main base class for all GRT WeakClassifiers.
virtual bool loadModelFromFile(std::fstream &file)
static RegisterWeakClassifierModule< RadialBasisFunction > registerModule
This is used to register the DecisionStump with the WeakClassifier base class.
WeakClassifier & operator=(const WeakClassifier &rhs)
virtual void print() const