aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2016-10-01 16:10:39 -0400
committerSean Owen <sowen@cloudera.com>2016-10-01 16:10:39 -0400
commitb88cb63da39786c07cb4bfa70afed32ec5eb3286 (patch)
tree1fcb0a85213238e47d0c98e2d79f792a75bad13e /python
parentaf6ece33d39cf305bd4a211d08a2f8e910c69bc1 (diff)
downloadspark-b88cb63da39786c07cb4bfa70afed32ec5eb3286.tar.gz
spark-b88cb63da39786c07cb4bfa70afed32ec5eb3286.tar.bz2
spark-b88cb63da39786c07cb4bfa70afed32ec5eb3286.zip
[SPARK-17704][ML][MLLIB] ChiSqSelector performance improvement.
## What changes were proposed in this pull request? Partial revert of #15277 to instead sort and store input to model rather than require sorted input ## How was this patch tested? Existing tests. Author: Sean Owen <sowen@cloudera.com> Closes #15299 from srowen/SPARK-17704.2.
Diffstat (limited to 'python')
-rwxr-xr-xpython/pyspark/ml/feature.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/ml/feature.py b/python/pyspark/ml/feature.py
index 12a13849dc..64b21caa61 100755
--- a/python/pyspark/ml/feature.py
+++ b/python/pyspark/ml/feature.py
@@ -2705,7 +2705,7 @@ class ChiSqSelectorModel(JavaModel, JavaMLReadable, JavaMLWritable):
@since("2.0.0")
def selectedFeatures(self):
"""
- List of indices to select (filter). Must be ordered asc.
+ List of indices to select (filter).
"""
return self._call_java("selectedFeatures")