Skip to content

matrix multiplication order question #5

@tc64

Description

@tc64

Hi, thanks for sharing your code! I read your paper and am wondering about the matrix multiplication order for the backward loss correction approach.

The paper says T^{-1} loss

In loss.robust, for backward, we have:

return -K.sum(K.dot(y_true, P_inv) * K.log(y_pred), axis=-1)

It looks to me like the order of matrix multiplication for P_inv and y_true should be switched. My guess is that I'm misunderstanding something, but would really appreciate if you could clarify.

Thanks!

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