InverseFrequencyMax

class matchup.structure.weighting.idf.InverseFrequencyMax

Bases: matchup.structure.weighting.idf.IDF

Methods Summary

generate(vocabulary) Model to calculate IDF based in max inverse frequency : log 1 + max ni / ni

Methods Documentation

generate(vocabulary)
Model to calculate IDF based in max inverse frequency : log 1 + max ni / ni
Parameters:vocabulary – structure to generate IDF
Returns:None