Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[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

Merged
merged 2 commits into from
Feb 6, 2017

Conversation

Akshay0724
Copy link
Contributor

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?

Copy link
Contributor

@rishikksh20 rishikksh20 left a 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

@lesteve
Copy link
Member

lesteve commented Feb 3, 2017

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?

@Akshay0724
Copy link
Contributor Author

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.

@Akshay0724
Copy link
Contributor Author

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))$")
Copy link
Member

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.

@jnothman jnothman merged commit b705cb8 into scikit-learn:master Feb 6, 2017
sergeyf pushed a commit to sergeyf/scikit-learn that referenced this pull request Feb 28, 2017
@Przemo10 Przemo10 mentioned this pull request Mar 17, 2017
Sundrique pushed a commit to Sundrique/scikit-learn that referenced this pull request Jun 14, 2017
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
lemonlaug pushed a commit to lemonlaug/scikit-learn that referenced this pull request Jan 6, 2021
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.

loss function plot y-label slightly confusing
4 participants