Details
Description
Running the example (after the fix in https://github.com/apache/spark/pull/13393) causes this failure:
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.'
Attachments
Issue Links
- is related to
-
SPARK-14615 Use the new ML Vector and Matrix in the ML pipeline based algorithms
- Resolved
- links to