Skip to content

Conversation

@yanboliang
Copy link
Contributor

What changes were proposed in this pull request?

It's better we can fix this issue by providing an option type for users to change the predict output schema, then they could output probabilities, log-space predictions, or original labels. In order to not involve breaking API change for 2.1, so revert this change firstly and will add it back after SPARK-18618 resolved.

How was this patch tested?

Existing unit tests.

This reverts commit daa975f.

…iginal label when family = binomial."

This reverts commit daa975f.
@SparkQA
Copy link

SparkQA commented Dec 2, 2016

Test build #69560 has finished for PR 16118 at commit 3e9d942.

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

@jkbradley
Copy link
Member

LGTM
Merging with master and branch-2.1
Thanks a lot for understanding & reverting this for now!

asfgit pushed a commit that referenced this pull request Dec 2, 2016
…m predict should output original label when family = binomial."

## What changes were proposed in this pull request?
It's better we can fix this issue by providing an option ```type``` for users to change the ```predict``` output schema, then they could output probabilities, log-space predictions, or original labels. In order to not involve breaking API change for 2.1, so revert this change firstly and will add it back after [SPARK-18618](https://issues.apache.org/jira/browse/SPARK-18618) resolved.

## How was this patch tested?
Existing unit tests.

This reverts commit daa975f.

Author: Yanbo Liang <[email protected]>

Closes #16118 from yanboliang/spark-18291-revert.

(cherry picked from commit a985dd8)
Signed-off-by: Joseph K. Bradley <[email protected]>
@asfgit asfgit closed this in a985dd8 Dec 2, 2016
@yanboliang yanboliang deleted the spark-18291-revert branch December 3, 2016 05:15
robert3005 pushed a commit to palantir/spark that referenced this pull request Dec 15, 2016
…m predict should output original label when family = binomial."

## What changes were proposed in this pull request?
It's better we can fix this issue by providing an option ```type``` for users to change the ```predict``` output schema, then they could output probabilities, log-space predictions, or original labels. In order to not involve breaking API change for 2.1, so revert this change firstly and will add it back after [SPARK-18618](https://issues.apache.org/jira/browse/SPARK-18618) resolved.

## How was this patch tested?
Existing unit tests.

This reverts commit daa975f.

Author: Yanbo Liang <[email protected]>

Closes apache#16118 from yanboliang/spark-18291-revert.
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
…m predict should output original label when family = binomial."

## What changes were proposed in this pull request?
It's better we can fix this issue by providing an option ```type``` for users to change the ```predict``` output schema, then they could output probabilities, log-space predictions, or original labels. In order to not involve breaking API change for 2.1, so revert this change firstly and will add it back after [SPARK-18618](https://issues.apache.org/jira/browse/SPARK-18618) resolved.

## How was this patch tested?
Existing unit tests.

This reverts commit daa975f.

Author: Yanbo Liang <[email protected]>

Closes apache#16118 from yanboliang/spark-18291-revert.
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