pktools  2.6.7
Processing Kernel for geospatial data
Public Member Functions | Protected Attributes | List of all members
CostFactory Class Referenceabstract
Inheritance diagram for CostFactory:
Inheritance graph
Collaboration diagram for CostFactory:
Collaboration graph

Public Member Functions

 CostFactory (unsigned short cv, short verbose)
void setCv (unsigned short cv)
void setClassValueMap (const std::string &classname, short classvalue)
std::map< std::string, short > getClassValueMap ()
std::vector< std::string > getNameVector ()
void setNameVector (std::vector< std::string > &nameVector)
int getClassIndex (std::string classname) const
void pushBackClassName (std::string classname)
void pushBackName (std::string classname)
void setNcTraining (const std::vector< unsigned int > nctraining)
void setNcTest (const std::vector< unsigned int > nctest)
virtual double getCost (const std::vector< Vector2d< float > > &trainingFeatures)=0

Protected Attributes

confusionmatrix::ConfusionMatrix m_cm
std::map< std::string, short > m_classValueMap
std::vector< std::string > m_nameVector
std::vector< unsigned int > m_nctraining
std::vector< unsigned int > m_nctest
unsigned short m_cv
short m_classvalue
short m_verbose

Detailed Description

Definition at line 30 of file CostFactory.h.

The documentation for this class was generated from the following file: