pktools  2.6.7
Processing Kernel for geospatial data
Public Member Functions | List of all members
CostFactorySVM Class Reference
Inheritance diagram for CostFactorySVM:
Inheritance graph
[legend]
Collaboration diagram for CostFactorySVM:
Collaboration graph
[legend]

Public Member Functions

 CostFactorySVM (std::string svm_type, std::string kernel_type, unsigned short kernel_degree, float gamma, float coef0, float ccost, float nu, float epsilon_loss, int cache, float epsilon_tol, bool shrinking, bool prob_est, unsigned short cv, short verbose)
 
double getCost (const std::vector< Vector2d< float > > &trainingFeatures)
 
- Public Member Functions inherited from CostFactory
 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)
 

Additional Inherited Members

- Protected Attributes inherited from CostFactory
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 34 of file CostFactorySVM.h.


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