-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] loss function plot y-label slightly confusing #8283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
You should avoid to open PR from your master branch, please avoid doing that on your next PR. Can you rebase on master to see whether the CircleCI disappears? |
Yep, I will take cake of this in my next PR. I'm learning about concept of rebasing and will soon rebase on master. Thanks for your suggestion @lesteve. |
I don't know about travis-ci but the circleci test has passed after rebasing . Is it OK or not ? Can any one suggest. Thanks |
@@ -38,5 +38,5 @@ def modified_huber_loss(y_true, y_pred): | |||
plt.ylim((0, 8)) | |||
plt.legend(loc="upper right") | |||
plt.xlabel(r"Decision function $f(x)$") | |||
plt.ylabel("$L(y, f(x))$") | |||
plt.ylabel("$L(y = 1, f(x))$") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amueller suggested L(y=1, ...
and I don't really see how the spaces increase clarity.
* Correct y label in plot * Remove Space
* Correct y label in plot * Remove Space
* Correct y label in plot * Remove Space
* Correct y label in plot * Remove Space
* Correct y label in plot * Remove Space
* Correct y label in plot * Remove Space
Reference Issue
Fixes #8275
What does this implement/fix? Explain your changes.
Making y label more clear i.e
L(y = 1, f(x))
Any other comments?