Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaNs in MLL output #111

Open
thegnarwhals opened this issue Dec 12, 2018 · 1 comment
Open

NaNs in MLL output #111

thegnarwhals opened this issue Dec 12, 2018 · 1 comment

Comments

@thegnarwhals
Copy link

Hello,

Following the example in the documentation, I am trying to use GPFlowOpt to do a parameter search over a 9-dimensional parameter space. The objective function is a function of both accuracy and latency of the algorithm I am finding parameters for. Therefore it is somewhat non-deterministic in that if I evaluate the objective function of the same point in parameter space twice I will obtain different results because the latency depends on the temperature of my laptop etc. It seems to be working, but I am getting stdout outputs like:

iter #  0 - MLL [-7.3] - fmin [15.4]
iter #  1 - MLL [-6.5] - fmin [9.64]
iter #  2 - MLL [-13.5] - fmin [9.64]
iter #  3 - MLL [-7.44] - fmin [9.64]
iter #  4 - MLL [nan] - fmin [9.64]
iter #  5 - MLL [nan] - fmin [9.64]
iter #  6 - MLL [nan] - fmin [9.64]
iter #  7 - MLL [nan] - fmin [9.64]

The nans are worrying. Do you have any idea what is causing them? I have checked the output of each evaluation of the objective function and they all seem sensible, no NaNs there!

@adowling2
Copy link

I am a newer user for GPflowOpt and getting the same output. My guess is the GP model training is failing. Per the source code, the number listed in the brackets is the log likelihood. I notice that after NaNs appear, the same point is always proposed is subsequent iterations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants