Skip to content

EigenvaluesInPlace exceeded {0} iterations #487

@hanlong-chen-1047

Description

@hanlong-chen-1047

How should we go about debugging errors of the following type?
EigenvaluesInPlace exceeded {0} iterations
https://github.com/dotnet/infer/blob/main/src/Runtime/Core/Maths/Matrix.cs#L2256

In particular, I am seeing:

EigenvaluesInPlace exceeded 150 iterations
    at Microsoft.ML.Probabilistic.Math.Matrix.EigenvaluesInPlace(Matrix A, Double[] eigenvaluesReal, Double[] eigenvaluesImag)
    at Microsoft.ML.Probabilistic.Factors.GaussianOp_Slow.GetRoots(IList`1 coeffs, Double[]& rootsReal, Double[]& rootsImag)
    at Microsoft.ML.Probabilistic.Factors.GaussianProductOp_Slow.AAverageConditional(Gaussian Product, Gaussian A, Gaussian B)
    at Microsoft.ML.Probabilistic.Factors.GaussianProductOp.AAverageConditional(Gaussian Product, Gaussian A, Gaussian B)
    ....

Does it just mean that it is running for too many iterations?

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