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

improve NaturalGradient optimizer documentation and add shape checks #1489

Merged
merged 5 commits into from
Jun 4, 2020

Conversation

st--
Copy link
Member

@st-- st-- commented May 28, 2020

As discussed in #878, GPflow's NaturalGradient optimizer does not implement the diagonal covariance parametrization (q_diag=True). This PR clarifies this in the documentation and adds extra shape checks.

@st-- st-- changed the title improve documentation and add shape checks improve NaturalGradient optimizer documentation and add shape checks May 28, 2020
@st-- st-- added the bug label May 28, 2020
@st-- st-- added this to Bugfix in progress in Open bugs via automation May 28, 2020
@codecov
Copy link

codecov bot commented May 28, 2020

Codecov Report

Merging #1489 into develop will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1489   +/-   ##
========================================
  Coverage    95.24%   95.25%           
========================================
  Files           82       82           
  Lines         3747     3750    +3     
========================================
+ Hits          3569     3572    +3     
  Misses         178      178           
Impacted Files Coverage Δ
gpflow/optimizers/natgrad.py 84.92% <100.00%> (+0.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 647ca90...3a76d47. Read the comment docs.

@st-- st-- requested review from awav and stefanosele June 1, 2020 11:52
@st-- st-- requested a review from cdmatters June 4, 2020 10:28
Copy link
Contributor

@cdmatters cdmatters left a comment

Choose a reason for hiding this comment

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

LGTM

@st-- st-- merged commit 6fda0e9 into develop Jun 4, 2020
Open bugs automation moved this from Bugfix in progress to Resolved Jun 4, 2020
@st-- st-- deleted the st/quickfix/natgrad_doc branch June 4, 2020 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Open bugs
  
Resolved
Development

Successfully merging this pull request may close these issues.

None yet

2 participants