Skip to content

test_ard_accuracy_on_easy_problem fails on CPU with AVX-512 #16097

@tbenst

Description

@tbenst

Description

On sklearn 0.21.3, when I build numpy against MKL, the tests pass if I run on a cpu that does not have AVX-512, but running the same binaries on a CPU with AVX-512 results in a test failure on test_ard_accuracy_on_easy_problem

Versions

numpy 1.17.4
scipy 1.3.3
sklearn 0.21.3

Edit: for what it's worth, quite close:

        # Expect an accuracy of better than 1E-4 in most cases -                
        # Failure-case produces 0.16!                                           
>       assert abs_coef_error < 0.01                                            
E       assert 0.012673147014894082 < 0.01 

So the simple fix would be to increse the threshold to say 0.02. Continuation of #14055

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions