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

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

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

Sean Owen resolved SPARK-26616.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 23549
[https://github.com/apache/spark/pull/23549]

> 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
>            Assignee: Jatin Puri
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> 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