GitHub user tovbinm opened a pull request:
https://github.com/apache/spark/pull/20321
[SPARK-23152][ML] - Correctly guard against empty datasets
## What changes were proposed in this pull request?
Correctly guard against empty datasets in
`org.apache.spark.ml.classification.Classifier`
## How was this patch tested?
existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/relateiq/spark SPARK-23152
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20321.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20321
----
commit bf0efe12a0a2aa648e3d82b225e05ea9176cd558
Author: Matthew Tovbin <mtovbin@...>
Date: 2018-01-18T20:42:37Z
Correctly guard against empty datasets
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]