Go to the source code of this file.
|
class | DBoW2::__SCORING_CLASS (L1Scoring, true, L1) |
| L1 Scoring object. More...
|
|
class | DBoW2::__SCORING_CLASS (DotProductScoring, false, L1) |
| Dot product Scoring object. More...
|
|
class | DBoW2::__SCORING_CLASS (BhattacharyyaScoring, true, L1) |
| Bhattacharyya Scoring object. More...
|
|
class | DBoW2::__SCORING_CLASS (KLScoring, true, L1) |
| KL divergence Scoring object. More...
|
|
class | DBoW2::__SCORING_CLASS (ChiSquareScoring, true, L1) |
| Chi square Scoring object. More...
|
|
class | DBoW2::__SCORING_CLASS (L2Scoring, true, L2) |
| L2 Scoring object. More...
|
|
#define __SCORING_CLASS |
( |
|
NAME, |
|
|
|
MUSTNORMALIZE, |
|
|
|
NORM |
|
) |
| |
Value:NAME:
public GeneralScoring \
{ public: \ \
virtual double score(const BowVector &v, const BowVector &w) const; \
\ \
virtual
inline bool mustNormalize(
LNorm &norm)
const \
{ norm = NORM; return MUSTNORMALIZE; } \
}
LNorm
L-norms for normalization.
Macro for defining Scoring classes
- Parameters
-
NAME | name of class |
MUSTNORMALIZE | if vectors must be normalized to compute the score |
NORM | type of norm to use when MUSTNORMALIZE |
Definition at line 53 of file ScoringObject.h.