|
WSF
|
#include <WsfBayesClassification.hpp>

Public Member Functions | |
| WsfAttributeMeasure () | |
| virtual | ~WsfAttributeMeasure ()=default |
| virtual double | GetEllipticalGate (double aValue, double aChiSqPointMult) |
| Elliptical distance. | |
| virtual double | GetProbabilityDistribution (double aValue) |
| Returns the standard BC statistical distance or probability density function (PDF) value, of the given data point given the set's variance and average. | |
| void | SetRange (const AttributePair &aAttributeValuePair) |
| Data range from CSV, data inputs. | |
| void | SetSigma (const AttributePair &aAttributeValuePair) |
| virtual void | AssertValid () |
Protected Attributes | |
| double | mAverage |
| double | mVariance |
Friends | |
| class | WsfBayesClassifier |
|
inline |
References mAverage, and mVariance.
Referenced by WsfCompoundAttributeMeasure::AddMode(), and WsfCompoundAttributeMeasure::WsfCompoundAttributeMeasure().
|
virtualdefault |
References AssertValid(), GetEllipticalGate(), GetProbabilityDistribution(), SetRange(), and SetSigma().
|
virtual |
References mVariance.
Referenced by SetRange(), SetSigma(), and ~WsfAttributeMeasure().
|
virtual |
Elliptical distance.
A "point" on the perimeter == 1.0. The peak occurs at the centroid, where aValue = mAverage
Reimplemented in WsfCompoundAttributeMeasure.
References mAverage, and mVariance.
Referenced by ~WsfAttributeMeasure().
|
virtual |
Returns the standard BC statistical distance or probability density function (PDF) value, of the given data point given the set's variance and average.
Reimplemented in WsfCompoundAttributeMeasure.
References mAverage, and mVariance.
Referenced by ~WsfAttributeMeasure().
| void WsfAttributeMeasure::SetRange | ( | const AttributePair & | aAttributeValuePair | ) |
Data range from CSV, data inputs.
Used to create sigma.
References AssertValid(), mAverage, AttributePair::mFirst, AttributePair::mSecond, and mVariance.
Referenced by WsfEntityPrototype::AddAttributeProtoRange(), and ~WsfAttributeMeasure().
| void WsfAttributeMeasure::SetSigma | ( | const AttributePair & | aAttributeValuePair | ) |
References AssertValid(), mAverage, AttributePair::mFirst, AttributePair::mSecond, and mVariance.
Referenced by WsfEntityPrototype::AddAttributeProtoSigma(), and ~WsfAttributeMeasure().
|
friend |
References WsfBayesClassifier.
Referenced by WsfBayesClassifier.
|
protected |
Referenced by GetEllipticalGate(), GetProbabilityDistribution(), SetRange(), SetSigma(), WsfBayesClassifier::Test(), and WsfAttributeMeasure().
|
protected |