Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
NumErrorC::NumErrorC(NumErrorBC &)
NumErrorC::Body(void)
NumErrorC::Body(void) const
NumErrorC::NumErrorC(void)
NumErrorC::NumErrorC(istream &)
NumErrorC::NumErrorC(const NumErrorC &)
NumErrorC::Copy(void) const
NumErrorC::operator=(const NumErrorC &)
NumErrorC::Error(const NumVLDataC &,const NumClassifyC &) const
NumErrorC::Error(const NumVLDataSetC &,const NumClassifyC &) const
NumErrorC::PMC(const NumVLDataSetC &,const NumClassifyC &) const
NumErrorC::GetInfo(void) const
NumErrorC::GetName(void) const
NumErrorC::Save(ostream &) const
RCHandleAC::Abstract(void)
RCHandleAC::IsHandleType(const DT &) const
RCHandleAC::CheckHandleType(const DT &) const
RCHandleAC::Save(ostream &) const
RCHandleAC::Copy(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
NumErrorC
 
Handle class for classification error counting.
 
include "amma/Num/NumError.hh"
User Level:Default
Library:NumPerformance
Example:testNumPerformance.cc
Section:Pattern Recognition.Performance Evaluation
In Scope:std

Comments:
Handle class for classification error counting.

Parent Classes: Derived Classes: Methods:
NumErrorC(NumErrorBC & bod)
Body Constructor
This creates a new handle to a body class, it can be usefull if you wish to return handles to the class from within a body function.

NumErrorBC & Body()
Access body.

const NumErrorBC & Body() const
Access body.

NumErrorC()
Default constructor

NumErrorC(istream & in)
Constructs from stream

NumErrorC(const NumErrorC & oth)
Copy constructor

NumErrorC Copy() const
Makes a deep copy

NumErrorC & operator=(const NumErrorC & oth)
Assignment operator

RealT Error(const NumVLDataC & data,const NumClassifyC & classifier) const
Determines pattern error value
data data pair containing feature vector and correct label
classifierclassifier to test
The classifier is used to predict the label given the feature vector. The label is compared with the correct label and an error cost is returned.

DListC<RealT> Error(const NumVLDataSetC & data,const NumClassifyC & classifier) const
Determines list of patterns error value
data list of data pairs containing feature vectors and correct label
classifierclassifier to test (must be trained)
The classifier is used to predict the label given the feature vector. The label is compared with the correct label and an error cost is returned.

RealT PMC(const NumVLDataSetC & data,const NumClassifyC & classifier) const
Determines the probability of mis-classification
data list of data pairs containing feature vectors and correct labels
classifiertrained classifier to test

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

#include "amma/RCHandleA.hh"
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<NumErrorBC> Copy() const
Creat a deep copy of this object.
protected:

#include "amma/RCHandle.hh"
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<NumErrorBC> & operator=(const RCHandleC<NumErrorBC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<NumErrorBC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<NumErrorBC> & 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.

NumErrorBC & Body()
Direct access to body.

const NumErrorBC & Body() const
Constant access to body.


Programmer:Robert Crida, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001