You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/05/15 19:52:01 UTC

[jira] [Resolved] (SPARK-7651) PySpark GMM predict, predictSoft should fail on bad input

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

Joseph K. Bradley resolved SPARK-7651.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0
         Assignee: Meethu Mathew

> PySpark GMM predict, predictSoft should fail on bad input
> ---------------------------------------------------------
>
>                 Key: SPARK-7651
>                 URL: https://issues.apache.org/jira/browse/SPARK-7651
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib, PySpark
>    Affects Versions: 1.3.0, 1.3.1, 1.4.0
>            Reporter: Joseph K. Bradley
>            Assignee: Meethu Mathew
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> In PySpark, GaussianMixtureModel predict and predictSoft test if the argument is an RDD and operate correctly if so.  But if the argument is not an RDD, they fail silently, returning nothing.
> [https://github.com/apache/spark/blob/11a1a135d1fe892cd48a9116acc7554846aed84c/python/pyspark/mllib/clustering.py#L176]
> Instead, they should raise errors.



--
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