lbl-camera / gpcam Goto Github PK
View Code? Open in Web Editor NEWAutonomous Data Acquisition, Uncertainty Quantification and HPC Optimization
Home Page: https://gpcam.readthedocs.io/en/latest/
License: Other
Autonomous Data Acquisition, Uncertainty Quantification and HPC Optimization
Home Page: https://gpcam.readthedocs.io/en/latest/
License: Other
In gpcam/surrogate_model.py
lines#150-152 is a call to evaluate_acquisition_function, and lines#170-171 is the definition of evaluate_acquisition_function.
As-is, cost_function in line# 152 is mapped to number_of_maxima_sought in line#170.
To fix this, I suggest specifying all keyword arguments as keyword arguments in the call (lines#150-152), i.e. origin=origin,cost_function=cost_function,cost_function_parameters=cost_function_parameters, instead of relying on their positions in the list of arguments.
Thanks.
Russell Fung (University of Wisconsin Milwaukee)
In gpcam/surrogate_model.py, lines# 303-305, in the devo(partial(…)) call, if vectorized is True & updating is ‘immediate’, scipy resets updating to ‘deferred’ automatically and displays a warning.
Setting updating ourselves will remove this nuisance warning.
I suggest adding
updating = 'deferred' if vectorized else 'immediate'
before the res = devo(partial(…)) call,and adding updating=updating in the list of input arguments.
Thanks.
Russell Fung (University of Wisconsin Milwaukee)
fvgp is currently pinned (scipy == 1.12.0
) higher than gpcam (scipy == 1.11.2
). Cursory testing showed no issues from upgrading the pin on gpCAM.
The sparse_mode
kwarg is no longer present in fvgp/gp.py:GP.__init__
. If this is no longer an available option, remove it from gpcam/gp_optimizer.py:GPOptimizer.__init__
.
Currently, the following error occurs when instancing GPOptimizer
:
...
File "C:\Users\rp\PycharmProjects\gpcam\gpcam\gp_optimizer.py", line 343, in __init__
super().__init__(
TypeError: GP.__init__() got an unexpected keyword argument 'sparse_mode'
Edit: The same seems to apply to the normalize_y
kwarg.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.