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 2017/07/11 08:13:07 UTC

[jira] [Resolved] (SPARK-21359) frequency discretizer

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

Sean Owen resolved SPARK-21359.
-------------------------------
    Resolution: Not A Problem

The discretization is a little approximate, for performance at scale. Here it splits into buckets containing 2, 3, 3, and 4 instances, when ideally they contain 3, 3, 3, 3. It's not a goal to be exact, though more exact is nice if it's as fast. But, it's not making equal-width bins; you can examine the bins.

> frequency discretizer
> ---------------------
>
>                 Key: SPARK-21359
>                 URL: https://issues.apache.org/jira/browse/SPARK-21359
>             Project: Spark
>          Issue Type: New JIRA Project
>          Components: ML
>    Affects Versions: 2.1.1
>            Reporter: Fu Shanshan
>
> Typically data is discretized into partitions of K equal lengths/width (equal intervals) or K% of the total data (equal frequencies)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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