aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/ml/feature.py
diff options
context:
space:
mode:
authorYanbo Liang <ybliang8@gmail.com>2015-08-31 16:06:38 -0700
committerXiangrui Meng <meng@databricks.com>2015-08-31 16:06:38 -0700
commitfe16fd0b8b717f01151bc659ec3299dab091c97a (patch)
tree8a3b9aab821f18a5b0370cf93ae98ec64e5fd194 /python/pyspark/ml/feature.py
parent540bdee93103a73736d282b95db6a8cda8f6a2b1 (diff)
downloadspark-fe16fd0b8b717f01151bc659ec3299dab091c97a.tar.gz
spark-fe16fd0b8b717f01151bc659ec3299dab091c97a.tar.bz2
spark-fe16fd0b8b717f01151bc659ec3299dab091c97a.zip
[SPARK-10349] [ML] OneVsRest use 'when ... otherwise' not UDF to generate new label at binary reduction
Currently OneVsRest use UDF to generate new binary label during training. Considering that [SPARK-7321](https://issues.apache.org/jira/browse/SPARK-7321) has been merged, we can use ```when ... otherwise``` which will be more efficiency. Author: Yanbo Liang <ybliang8@gmail.com> Closes #8519 from yanboliang/spark-10349.
Diffstat (limited to 'python/pyspark/ml/feature.py')
0 files changed, 0 insertions, 0 deletions