Joseph K. Bradley created SPARK-5609: ----------------------------------------
Summary: 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