tfidf.php
Table of Contents
Classes
- vB_RelatedText_TfIdf
- Calculate TfIdf values from a data array and a vocabulary object. This is structured to allow batch processing of data arrays without necesarily considering all of the data records at once, but the all documents need to be processed into the vocabulary object before using it for the transform. The vocabulary object keeps all of the "universe" level statistics in addition to an ordinal to word mapping.