Skip to content

Question KL term #24

@pierrefournier752

Description

@pierrefournier752

Hi, thanks for your amazing work.

I have a (maybe naive) question about the order of the input arguments in the KL term of your loss. I thought that when you have a fixed distribution (such as the ground truth p), and a moving distribution (such as predictions s), the way to add this in a KL term was like this: -p log(q/p), so that this becomes a cross entropy (-p log q) and an entropy term -p log p (which becomes a constant as p is known/fixed). Nevertheless, it seems that as you present it, pi is the moving distribution and the B/F proportion predicted by the model is the fixed one (p log (p/pi)). Please can you clarify me this?

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