You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Karl Higley (JIRA)" <ji...@apache.org> on 2015/05/26 02:46:17 UTC

[jira] [Created] (SPARK-7857) IDF w/ minDocFreq on SparseVectors results in literal zeros

Karl Higley created SPARK-7857:
----------------------------------

             Summary: IDF w/ minDocFreq on SparseVectors results in literal zeros
                 Key: SPARK-7857
                 URL: https://issues.apache.org/jira/browse/SPARK-7857
             Project: Spark
          Issue Type: Bug
          Components: MLlib
            Reporter: Karl Higley
            Priority: Minor


When the IDF model's minDocFreq parameter is set to a non-zero threshold, the IDF for any feature below that threshold is set to zero.  When the model is used to transform a set of SparseVectors containing that feature, the resulting SparseVectors contain entries whose values are zero.  The zero entries should be omitted in order to simplify downstream processing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org