Skip to content

Warning with batch std when implementing LOGO #19

@mhking71

Description

@mhking71

Hi,

I have a very small dataset, so I was trying to implement Leave One Group Out cross-validation. When I do this, pytorch gives a user warning related to the computation of batch standard deviation in the forward method (my prediction set is just one bag).

I am not sure the best way to resolve this, but I think this is affecting inference. I think one way to do this is to set the unbiased kwarg to false, but I don't know how performance will change either when this is done.

Happy to share some of my code snippets if that is helpful.

Best,
Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions