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

Bug with the function predict_variances #681

Closed
Baraton-L opened this issue Nov 27, 2024 · 0 comments · Fixed by #684
Closed

Bug with the function predict_variances #681

Baraton-L opened this issue Nov 27, 2024 · 0 comments · Fixed by #684

Comments

@Baraton-L
Copy link

Hello,

I have a bug with the function predict_variances. It seems like variances are rounded to 0 when they are too small.
A code producing the bug is attached. A simple function with mixed variables is used, a DoE is performed and surrogate models are built. 10 points' variances are predicted and displayed. The bug appears when the DoE size is big enough (20 points are sufficient) and disappears when the size is small (5 points for instance). The bug appears from the version 2.5.1 (it wasn't here in 2.5.0).

I have solved it by commenting the line 1859 from the file smt/smt/surrogate_models/krg_based.py

Thanks !

bug_version_SMT.zip

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

Successfully merging a pull request may close this issue.

1 participant