UNPKG

idf

Version:

Function that takes a Term-Document map; computes IDFs.

2 lines 322 B
This module computes a hashtable of inverse document frequencies, when inputted term frequencies. **THIS MODULE IS NO LONGER BEING MAINTAINED. The code here has been integrated into the NPM module [Retrieval](https://www.npmjs.com/package/retrieval). Please use that module instead. It is more mature and better tested.**