ProbabilisticInverseFrequency¶
-
class
matchup.structure.weighting.idf.
ProbabilisticInverseFrequency
¶ Bases:
matchup.structure.weighting.idf.IDF
Methods Summary
generate
(vocabulary)Model to calculate IDF based in probabilistic inverse frequency : log N - ni / ni Methods Documentation
-
generate
(vocabulary)¶ - Model to calculate IDF based in probabilistic inverse frequency : log N - ni / ni This weighting are not so good when N - ni / ni < 1 :: N - ni < ni :: N < 2ni
Parameters: vocabulary – structure to generate IDF Returns: None
-