You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2019/01/15 08:39:00 UTC

[jira] [Assigned] (SPARK-26616) Expose document frequency in IDFModel

     [ https://issues.apache.org/jira/browse/SPARK-26616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-26616:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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