Details
Description
As part of `org.apache.spark.ml.feature.IDFModel`, the following can be exposed:
1. Document frequency vector
2. Number of documents
The above are already computed in calculating idf vector. It simply need to be exposed as `public val`
This avoids re-implementation for someone who needs to compute DocumentFrequency of terms.
Attachments
Issue Links
- links to