10 #ifndef __D_T_BOW_VECTOR__ 11 #define __D_T_BOW_VECTOR__ 57 public std::map<WordId, WordValue>
WeightingType
Weighting type.
void addWeight(WordId id, WordValue v)
void saveM(const std::string &filename, size_t W) const
friend std::ostream & operator<<(std::ostream &out, const BowVector &v)
void normalize(LNorm norm_type)
LNorm
L-norms for normalization.
Vector of words to represent images.
double WordValue
Value of a word.
unsigned int WordId
Id of words.
void addIfNotExist(WordId id, WordValue v)
unsigned int NodeId
Id of nodes in the vocabulary treee.