[ https://issues.apache.org/jira/browse/SPARK-5609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306593#comment-14306593 ]
Meethu Mathew edited comment on SPARK-5609 at 2/5/15 4:03 AM: -------------------------------------------------------------- Please assign the ticket to me. [~josephkb] was (Author: meethumathew): Please assign the ticket to me. > PythonMLlibAPI trainGaussianMixture seed should use Java type > ------------------------------------------------------------- > > Key: SPARK-5609 > URL: https://issues.apache.org/jira/browse/SPARK-5609 > Project: Spark > Issue Type: Bug > Components: MLlib, PySpark > Affects Versions: 1.3.0 > Reporter: Joseph K. Bradley > Priority: Trivial > > trainGaussianMixture takes parameter seed of type scala.Long but should take > java.lang.Long. > Otherwise, the test for whether seed is null (None in Python) will be > ineffective. See compilation warning: > {code} > [warn] > /Users/josephkb/spark/mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala:304: > comparing values of types Long and Null using `!=' will always yield true > [warn] if (seed != null) gmmAlg.setSeed(seed) > [warn] ^ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org