spark-instrumented-optimizer/python/pyspark/ml
Huaxin Gao 901ff92969 [SPARK-29464][PYTHON][ML] PySpark ML should expose Params.clear() to unset a user supplied Param
### What changes were proposed in this pull request?
change PySpark ml ```Params._clear``` to ```Params.clear```

### Why are the changes needed?
PySpark ML currently has a private _clear() method that will unset a param. This should be made public to match the Scala API and give users a way to unset a user supplied param.

### Does this PR introduce any user-facing change?
Yes. PySpark ml ```Params._clear``` ---> ```Params.clear```

### How was this patch tested?
Add test.

Closes #26130 from huaxingao/spark-29464.

Authored-by: Huaxin Gao <huaxing@us.ibm.com>
Signed-off-by: Bryan Cutler <cutlerb@gmail.com>
2019-10-17 17:02:31 -07:00
..
linalg [SPARK-28206][PYTHON] Remove the legacy Epydoc in PySpark API documentation 2019-07-05 10:08:22 -07:00
param [SPARK-29464][PYTHON][ML] PySpark ML should expose Params.clear() to unset a user supplied Param 2019-10-17 17:02:31 -07:00
tests [SPARK-29464][PYTHON][ML] PySpark ML should expose Params.clear() to unset a user supplied Param 2019-10-17 17:02:31 -07:00
__init__.py [SPARK-24477][SPARK-24454][ML][PYTHON] Imports submodule in ml/__init__.py and add ImageSchema into __all__ 2018-06-08 09:32:11 -07:00
base.py [SPARK-28855][CORE][ML][SQL][STREAMING] Remove outdated usages of Experimental, Evolving annotations 2019-09-01 10:15:00 -05:00
classification.py [SPARK-29464][PYTHON][ML] PySpark ML should expose Params.clear() to unset a user supplied Param 2019-10-17 17:02:31 -07:00
clustering.py [SPARK-29142][PYTHON][ML][FOLLOWUP][DOC] Replace incorrect :py:attr: applications 2019-10-03 02:45:44 -07:00
common.py [SPARK-17679] [PYSPARK] remove unnecessary Py4J ListConverter patch 2016-10-03 14:12:03 -07:00
evaluation.py [SPARK-29258][ML][PYSPARK] parity between ml.evaluator and mllib.metrics 2019-09-27 13:30:03 +08:00
feature.py [SPARK-23578][ML][PYSPARK] Binarizer support multi-column 2019-10-16 18:32:07 +08:00
fpm.py [SPARK-29360][PYTHON][ML] PySpark FPGrowthModel supports getter/setter 2019-10-07 10:53:59 -05:00
image.py [SPARK-25382][SQL][PYSPARK] Remove ImageSchema.readImages in 3.0 2019-07-31 14:26:18 +09:00
pipeline.py [SPARK-17025][ML][PYTHON] Persistence for Pipelines with Python-only Stages 2017-08-11 23:57:08 -07:00
recommendation.py [SPARK-29269][PYTHON][ML] Pyspark ALSModel support getters/setters 2019-10-08 14:05:09 +08:00
regression.py [SPARK-29116][PYTHON][ML] Refactor py classes related to DecisionTree 2019-10-12 22:13:50 +08:00
stat.py [SPARK-28855][CORE][ML][SQL][STREAMING] Remove outdated usages of Experimental, Evolving annotations 2019-09-01 10:15:00 -05:00
tree.py [SPARK-29116][PYTHON][ML] Refactor py classes related to DecisionTree 2019-10-12 22:13:50 +08:00
tuning.py [SPARK-29377][PYTHON][ML] Parity between Scala ML tuning and Python ML tuning 2019-10-14 14:28:31 +08:00
util.py [SPARK-28985][PYTHON][ML] Add common classes (JavaPredictor/JavaClassificationModel/JavaProbabilisticClassifier) in PYTHON 2019-09-19 08:17:25 -05:00
wrapper.py [SPARK-29464][PYTHON][ML] PySpark ML should expose Params.clear() to unset a user supplied Param 2019-10-17 17:02:31 -07:00