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

Fix kwarg passing in combined example #356

Merged
merged 2 commits into from
Aug 5, 2014
Merged

Fix kwarg passing in combined example #356

merged 2 commits into from
Aug 5, 2014

Conversation

sc932
Copy link
Contributor

@sc932 sc932 commented Aug 5, 2014

********* PEOPLE *************
Primary reviewer: @suntzu86

Reviewers: @yonromai

********* DESCRIPTION **************
Branch Name: sclark_test_new_pull
Ticket(s)/Issue(s): Closes N/A

This extends #355 by @yonromai and cleans up a few other cases where this could fail. It also extends the docs to make it more clear what is getting passed around.

********* TESTING DONE *************

Extended test.
make test

@@ -66,6 +99,7 @@ def run_example(num_to_sample=20, verbose=True, testapp=None, **kwargs):
exp.historical_data.to_list_of_sample_points(), # Historical data to inform Gaussian Process
points_to_evaluate, # We will calculate the mean and variance of the GP at these points
testapp=testapp,
**kwargs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this should be mean_var_kwargs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call.

@suntzu86
Copy link
Contributor

suntzu86 commented Aug 5, 2014

fix/ship

@suntzu86
Copy link
Contributor

suntzu86 commented Aug 5, 2014

might mention the kwarg precedence in the function docstring, up to you

shipit

sc932 added a commit that referenced this pull request Aug 5, 2014
Fix kwarg passing in combined example
@sc932 sc932 merged commit f7fd6c5 into master Aug 5, 2014
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 this pull request may close these issues.

2 participants