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

Public Member Functions

 CostFactoryANN (const std::vector< unsigned int > &nneuron, float connection, const std::vector< float > weights, float learning, unsigned int maxit, unsigned short cv, bool 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 29 of file pkfsann.h.

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