Skip to content

(A doubt NOT an issue) Gradient of loss function having different sign after performing first-degree differentiation of LogisticLoss #107

Open
@mehulofficial14

Description

@mehulofficial14

I differentiated the loss function in the LogisiticLoss() class used in XGboost to get the gradient. I am getting (y - p) but turns out that it is -(y - p). For more reference, here is the link to the exact class and function, I am referring to. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions