Skip to content

Pytorch test case 3 in plroblem 46 - Implement Precision Metric is wrong. Expected value should be 1 or nan. #590

@bdehamel

Description

@bdehamel

https://github.com/Open-Deep-ML/DML-OpenProblem/blob/main/questions/46_implement-precision-metric/tests.json

I couldn't find the pytorch test cases for this problem, but the test case 3 expects a precision of 0 to be returned when there are no positive class predictions in the dataset. It should be either 1 or nan (I would go for 1.0).

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