Git Product home page Git Product logo

gpcam's People

Contributors

elliottperryman avatar ihumphrey avatar marcusmnoack avatar matthewcarbone avatar ronpandolfi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gpcam's Issues

Positional vs keyword argument bug in gpcam/surrogate_model.py

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)

Nuisance warning in devo(partial(...)) call

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)

Remove sparse_mode kwarg not present in fvgp

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.