You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jatin Puri (JIRA)" <ji...@apache.org> on 2019/01/14 16:00:03 UTC
[jira] [Created] (SPARK-26616) Expose document frequency in
IDFModel
Jatin Puri created SPARK-26616:
----------------------------------
Summary: Expose document frequency in IDFModel
Key: SPARK-26616
URL: https://issues.apache.org/jira/browse/SPARK-26616
Project: Spark
Issue Type: Improvement
Components: ML, MLlib
Affects Versions: 2.4.0
Reporter: Jatin Puri
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org