Joseph K. Bradley created SPARK-15892: -----------------------------------------
Summary: aft_survival_regression.py example fails in branch-2.0 Key: SPARK-15892 URL: https://issues.apache.org/jira/browse/SPARK-15892 Project: Spark Issue Type: Bug Components: Examples, ML, PySpark Affects Versions: 2.0.0 Reporter: Joseph K. Bradley Running the example (after the fix in [https://github.com/apache/spark/pull/13393]) causes this failure: {code} Traceback (most recent call last): File "/Users/josephkb/spark/examples/src/main/python/ml/aft_survival_regression.py", line 49, in <module> model = aft.fit(training) File "/Users/josephkb/spark/python/lib/pyspark.zip/pyspark/ml/base.py", line 64, in fit File "/Users/josephkb/spark/python/lib/pyspark.zip/pyspark/ml/wrapper.py", line 213, in _fit File "/Users/josephkb/spark/python/lib/pyspark.zip/pyspark/ml/wrapper.py", line 210, in _fit_java File "/Users/josephkb/spark/python/lib/py4j-0.10.1-src.zip/py4j/java_gateway.py", line 933, in __call__ File "/Users/josephkb/spark/python/lib/pyspark.zip/pyspark/sql/utils.py", line 79, in deco pyspark.sql.utils.IllegalArgumentException: u'requirement failed: The number of instances should be greater than 0.0, but got 0.' {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