Go to the documentation of this file.
73 bool save(
const std::string& out_fname)
const;
76 bool do_save(std::ostream& os)
const;
77 void do_load(std::istream& is);
108 bool save(
const std::string& out_fname)
const ;
110 bool do_save(std::ostream& os)
const;
111 void do_load(std::istream& is);
A simple class to add loadind and storeing to a map of labels.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
CLabelMap(const std::string &in_fname)
bool save(const std::string &out_fname) const
#define NS_MIA_END
conveniance define to end the mia namespace
bool save(const std::string &out_fname) const
std::vector< double > double_vector
EXPORT_CORE bool operator==(const CProbabilityVector &a, const CProbabilityVector &b)
Compare two probability vectors.
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
A vector of probablility values.
CProbabilityVector(const std::string &in_fname)
CProbabilityVector(size_t nClass, size_t nElm)