|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Handle class for classification error counting. Will determine the
probability of misclassification (PMC) of a given classifier with given
data set, error counting algorithm and data handling algorithm.
Parent Classes:
Derived Classes:
Methods:
- NumPerformanceC()
-
Default constructor
- NumPerformanceC(istream & in)
-
Constructs from stream
- NumPerformanceC(const NumPerformanceC & oth)
-
Copy constructor
- NumPerformanceC(NumPerformanceBC & oth)
-
Constructs from base class
- NumPerformanceC Copy() const
-
Makes a deep copy
- NumPerformanceC & operator=(const NumPerformanceC & oth)
-
Assignment operator
- RealT PMC(const NumVLDataSetC & data,NumClassifySupervisedC & classifier,const NumErrorC & error = NumErrorCountC()) const
-
Determines probability of misclassification
| data | data set containing feature vectors and correct labels |
| classifier | classifier to test |
| error | error counting method |
|
A derived class must provide a method for splitting the data into test
and training data and then determining the average probability of
misclassification of the given classifier using the supplied error
counting method.
- const StringC GetInfo() const
-
Gets string describing object
- const StringC GetName() const
-
Gets type name of the object
- BooleanT Save(ostream & out) const
-
Writes object to stream, cna be loaded using constructor
- RCAbstractC Abstract()
-
Create an abstract handle to this object.
- BooleanT IsHandleType(const DT &) const
-
Is handle of given type ?
- void CheckHandleType(const DT & dummy) const
-
Check handle type. Throw an expception if not.
- BooleanT Save(ostream & out) const
-
Save to ostream.
- RCHandleAC<NumPerformanceBC> Copy() const
-
Creat a deep copy of this object.
protected:
- BooleanT IsValid() const
-
Check its a valid handle.
- BooleanT IsValidObject() const
-
Check its a valid handle, and that the object is pointed to is also valid.
- RCHandleC<NumPerformanceBC> & operator=(const RCHandleC<NumPerformanceBC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<NumPerformanceBC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<NumPerformanceBC> & oth) const
-
Comparison operator.
- UIntT Hash() const
-
Hash function.x
- BooleanT IsConst() const
-
Is object constant ?
- BooleanT IsNotConst() const
-
Is object not constant ?
- void SetConst(void) const
-
Lock the object.
This is const as a convience though it actual modified the
object, often object you wish to ensure are constant already
have const set.
protected:
- void Invalidate()
-
Turn this into an invalid handle.
- NumPerformanceBC & Body()
-
Direct access to body.
- const NumPerformanceBC & Body() const
-
Constant access to body.
|
Programmer:Robert Crida, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|