Skip to content

Conversation

@yanboliang
Copy link
Contributor

What changes were proposed in this pull request?

ml.evaluation Scala and Python API sync.

How was this patch tested?

Only API docs change, no new tests.

"""
# Because we will maximize evaluation value (ref: `CrossValidator`),
# when we evaluate a metric that is needed to minimize (e.g., `"rmse"`, `"mse"`, `"mae"`),
# we take and output the negative of this metric.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Spark 1.4, we negated some metrics from RegressionEvaluator since CrossValidator always maximized metrics. This was fixed in 1.5, #12377 updated the Scala docs, this PR updates the Python docs.

@SparkQA
Copy link

SparkQA commented May 19, 2016

Test build #58861 has finished for PR 13195 at commit b349de7.

  • This patch fails Python style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 19, 2016

Test build #58862 has finished for PR 13195 at commit b349de7.

  • This patch fails Python style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 19, 2016

Test build #58863 has finished for PR 13195 at commit 6b9fdde.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yanboliang
Copy link
Contributor Author

cc @MLnick @jkbradley

@mengxr
Copy link
Contributor

mengxr commented May 20, 2016

LGTM. Merged into master and branch-2.0. Thanks!

asfgit pushed a commit that referenced this pull request May 20, 2016
## What changes were proposed in this pull request?
```ml.evaluation``` Scala and Python API sync.

## How was this patch tested?
Only API docs change, no new tests.

Author: Yanbo Liang <[email protected]>

Closes #13195 from yanboliang/evaluation-doc.

(cherry picked from commit 6643677)
Signed-off-by: Xiangrui Meng <[email protected]>
@asfgit asfgit closed this in 6643677 May 20, 2016
@yanboliang yanboliang deleted the evaluation-doc branch May 20, 2016 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants