spark-instrumented-optimizer/python/pyspark/ml/param
Bryan Cutler 2f69e3f60f [SPARK-14772][PYTHON][ML] Fixed Params.copy method to match Scala implementation
## What changes were proposed in this pull request?
Fixed the PySpark Params.copy method to behave like the Scala implementation.  The main issue was that it did not account for the _defaultParamMap and merged it into the explicitly created param map.

## How was this patch tested?
Added new unit test to verify the copy method behaves correctly for copying uid, explicitly created params, and default params.

Author: Bryan Cutler <cutlerb@gmail.com>

Closes #16772 from BryanCutler/pyspark-ml-param_copy-Scala_sync-SPARK-14772.
2017-02-23 18:05:58 -08:00
..
__init__.py [SPARK-14772][PYTHON][ML] Fixed Params.copy method to match Scala implementation 2017-02-23 18:05:58 -08:00
_shared_params_code_gen.py [SPARK-19336][ML][PYSPARK] LinearSVC Python API 2017-01-27 16:03:53 -08:00
shared.py [SPARK-19336][ML][PYSPARK] LinearSVC Python API 2017-01-27 16:03:53 -08:00