From c8dc6e6f2cd60cdded8978771b8249172613db63 Mon Sep 17 00:00:00 2001 From: Yu ISHIKAWA Date: Thu, 16 Jul 2015 16:44:38 +0900 Subject: [PATCH] Remove an unnecessary test --- python/pyspark/ml/clustering.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python/pyspark/ml/clustering.py b/python/pyspark/ml/clustering.py index 8b0acfebee4b6..20dd5dbae4087 100644 --- a/python/pyspark/ml/clustering.py +++ b/python/pyspark/ml/clustering.py @@ -58,10 +58,6 @@ class KMeans(JavaEstimator, HasFeaturesCol, HasMaxIter, HasSeed): True >>> rows[2].prediction == rows[3].prediction True - >>> kmeans.setParams("features") - Traceback (most recent call last): - ... - TypeError: Method setParams forces keyword arguments. """ # a placeholder to make it appear in the generated doc