Skip to content

Conversation

@BenFradet
Copy link
Contributor

For the BinaryClassificationEvaluator, the scaladoc doesn't mention that "areaUnderPR" is supported, only that the default is "areadUnderROC".
Also, in the documentation, it is said that:
"The default metric used to choose the best ParamMap can be overriden by the setMetric method in each of these evaluators."
However, the method is called setMetricName.

This PR aims to fix both issues.

@SparkQA
Copy link

SparkQA commented Dec 16, 2015

Test build #47816 has finished for PR 10328 at commit a6691d4.

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

@BenFradet
Copy link
Contributor Author

cc @jkbradley @mengxr

@BenFradet
Copy link
Contributor Author

Cc @jkbradley

Copy link
Member

Choose a reason for hiding this comment

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

Why is this diff here? Is there an odd character on this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There were no newline chars at the end of the file and vim added one, I can remove it if it's an issue.

Copy link
Member

Choose a reason for hiding this comment

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

Oh OK, then no, you were correct

@jkbradley
Copy link
Member

@BenFradet Thank you for pinging again! It looks fine except for that odd diff line.

@jkbradley
Copy link
Member

LGTM pending tests

@SparkQA
Copy link

SparkQA commented Jan 6, 2016

Test build #2339 has finished for PR 10328 at commit a6691d4.

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

@jkbradley
Copy link
Member

Merging with master

Thanks!

@asfgit asfgit closed this in f82ebb1 Jan 6, 2016
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