spark-instrumented-optimizer/python/pyspark/ml
Feynman Liang 28a98464ea [SPARK-10097] Adds shouldMaximize flag to ml.evaluation.Evaluator
Previously, users of evaluator (`CrossValidator` and `TrainValidationSplit`) would only maximize the metric in evaluator, leading to a hacky solution which negated metrics to be minimized and caused erroneous negative values to be reported to the user.

This PR adds a `isLargerBetter` attribute to the `Evaluator` base class, instructing users of `Evaluator` on whether the chosen metric should be maximized or minimized.

CC jkbradley

Author: Feynman Liang <fliang@databricks.com>
Author: Joseph K. Bradley <joseph@databricks.com>

Closes #8290 from feynmanliang/SPARK-10097.
2015-08-19 11:35:05 -07:00
..
param [SPARK-9828] [PYSPARK] Mutable values should not be default arguments 2015-08-14 12:46:05 -07:00
__init__.py [SPARK-7535] [.0] [MLLIB] Audit the pipeline APIs for 1.4 2015-05-21 22:57:33 -07:00
classification.py [SPARK-9789] [ML] Added logreg threshold param back 2015-08-12 14:27:13 -07:00
clustering.py [SPARK-9918] [MLLIB] remove runs from k-means and rename epsilon to tol 2015-08-12 23:04:59 -07:00
evaluation.py [SPARK-10097] Adds shouldMaximize flag to ml.evaluation.Evaluator 2015-08-19 11:35:05 -07:00
feature.py [SPARK-9768] [PYSPARK] [ML] Add Python API and user guide for ml.feature.ElementwiseProduct 2015-08-17 17:25:41 -07:00
pipeline.py [SPARK-9828] [PYSPARK] Mutable values should not be default arguments 2015-08-14 12:46:05 -07:00
recommendation.py [SPARK-7922] [MLLIB] use DataFrames for user/item factors in ALSModel 2015-05-28 22:38:38 -07:00
regression.py [SPARK-8711] [ML] Add additional methods to PySpark ML tree models 2015-07-07 08:58:08 -07:00
tests.py [SPARK-8456] [ML] Ngram featurizer python 2015-06-29 18:40:30 -07:00
tuning.py [SPARK-9828] [PYSPARK] Mutable values should not be default arguments 2015-08-14 12:46:05 -07:00
util.py [SPARK-7380] [MLLIB] pipeline stages should be copyable in Python 2015-05-18 12:02:18 -07:00
wrapper.py [SPARK-8679] [PYSPARK] [MLLIB] Default values in Pipeline API should be immutable 2015-06-30 10:27:29 -07:00