aboutsummaryrefslogtreecommitdiff
path: root/examples/src/main/python/mllib/random_forest_classification_example.py
diff options
context:
space:
mode:
authorZheng RuiFeng <ruifengz@foxmail.com>2016-03-11 13:49:37 -0800
committerDavies Liu <davies.liu@gmail.com>2016-03-11 13:49:37 -0800
commit42afd72c654318e9fb1f2a204198221e797c2485 (patch)
treebd32abb9204a7d09f18259e84ea1414f33e7a086 /examples/src/main/python/mllib/random_forest_classification_example.py
parent073bf9d4d91e0242a813f3d227e52e76c26a2200 (diff)
downloadspark-42afd72c654318e9fb1f2a204198221e797c2485.tar.gz
spark-42afd72c654318e9fb1f2a204198221e797c2485.tar.bz2
spark-42afd72c654318e9fb1f2a204198221e797c2485.zip
[SPARK-13814] [PYSPARK] Delete unnecessary imports in python examples files
JIRA: https://issues.apache.org/jira/browse/SPARK-13814 ## What changes were proposed in this pull request? delete unnecessary imports in python examples files ## How was this patch tested? manual tests Author: Zheng RuiFeng <ruifengz@foxmail.com> Closes #11651 from zhengruifeng/del_import_pe.
Diffstat (limited to 'examples/src/main/python/mllib/random_forest_classification_example.py')
-rw-r--r--examples/src/main/python/mllib/random_forest_classification_example.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/src/main/python/mllib/random_forest_classification_example.py b/examples/src/main/python/mllib/random_forest_classification_example.py
index 324ba50625..9e5a8dcaab 100644
--- a/examples/src/main/python/mllib/random_forest_classification_example.py
+++ b/examples/src/main/python/mllib/random_forest_classification_example.py
@@ -20,8 +20,6 @@ Random Forest Classification Example.
"""
from __future__ import print_function
-import sys
-
from pyspark import SparkContext
# $example on$
from pyspark.mllib.tree import RandomForest, RandomForestModel