[SPARK-19467][ML][PYTHON] Remove cyclic imports from pyspark.ml.pipeline

## What changes were proposed in this pull request?

Remove cyclic imports between `pyspark.ml.pipeline` and `pyspark.ml`.

## How was this patch tested?

Existing unit tests.

Author: zero323 <zero323@users.noreply.github.com>

Closes #16814 from zero323/SPARK-19467.
This commit is contained in:
zero323 2017-02-06 18:12:20 -08:00 committed by Joseph K. Bradley
parent d6dc603ed4
commit fab0d62a71

View file

@ -21,7 +21,7 @@ if sys.version > '3':
basestring = str
from pyspark import since, keyword_only, SparkContext
from pyspark.ml import Estimator, Model, Transformer
from pyspark.ml.base import Estimator, Model, Transformer
from pyspark.ml.param import Param, Params
from pyspark.ml.util import JavaMLWriter, JavaMLReader, MLReadable, MLWritable
from pyspark.ml.wrapper import JavaParams