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/16 08:55:00 UTC
[jira] [Updated] (SPARK-26616) Expose document frequency in
IDFModel
[ https://issues.apache.org/jira/browse/SPARK-26616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jatin Puri updated SPARK-26616:
-------------------------------
Docs Text: Provide DocumentFrequency in IDF (was: Provide DocumentFrequency vector in IDF)
> 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
> Priority: Minor
>
> 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