Skip to content

CI failure of the GPR with not issuing a ConvergenceWarning #21327

@glemaitre

Description

@glemaitre

Our build based on conda and MKL updated the NumPy version from 1.20.3 to 1.21.2.

A GPR test fails because it does not raise anymore a ConvergenceWarning. It should be investigated to know what is the reason and fix the test to ensure a case that we trigger a convergence issue.

E           Failed: DID NOT WARN. No warnings of type (<class 'sklearn.exceptions.ConvergenceWarning'>,) matching ('The optimal value found for dimension 0 of parameter length_scale is close to the specified upper bound 0.001. Increasing the bound and calling fit again may find a better value.') was emitted. The list of emitted warnings is: [ConvergenceWarning('The optimal value found for dimension 0 of parameter length_scale is close to the specified upper bound 1e-03. Increasing the bound and calling fit again may find a better value.')].

xref: https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=33572&view=logs&j=ee99577d-f9c7-545c-0f56-ef7efc8f5936&t=268f7a52-f266-5aea-5799-fda7f893c9ab&l=701

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions