diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-10-04 06:54:48 -0700 |
---|---|---|
committer | Yanbo Liang <ybliang8@gmail.com> | 2016-10-04 06:54:48 -0700 |
commit | c17f971839816e68f8abe2c8eb4e4db47c57ab67 (patch) | |
tree | d1dd27bbee18a5aa2e51486bb91df02c0f2f38b5 /python/pyspark/ml | |
parent | 7d5160883542f3d9dcb3babda92880985398e9af (diff) | |
download | spark-c17f971839816e68f8abe2c8eb4e4db47c57ab67.tar.gz spark-c17f971839816e68f8abe2c8eb4e4db47c57ab67.tar.bz2 spark-c17f971839816e68f8abe2c8eb4e4db47c57ab67.zip |
[SPARK-17744][ML] Parity check between the ml and mllib test suites for NB
## What changes were proposed in this pull request?
1,parity check and add missing test suites for ml's NB
2,remove some unused imports
## How was this patch tested?
manual tests in spark-shell
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #15312 from zhengruifeng/nb_test_parity.
Diffstat (limited to 'python/pyspark/ml')
-rw-r--r-- | python/pyspark/ml/classification.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/pyspark/ml/classification.py b/python/pyspark/ml/classification.py index 505e7bffd1..ea60fab029 100644 --- a/python/pyspark/ml/classification.py +++ b/python/pyspark/ml/classification.py @@ -16,7 +16,6 @@ # import operator -import warnings from pyspark import since, keyword_only from pyspark.ml import Estimator, Model |