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

Deep kernel learning example: performance #298

Open
st-- opened this issue Mar 28, 2022 · 1 comment
Open

Deep kernel learning example: performance #298

st-- opened this issue Mar 28, 2022 · 1 comment

Comments

@st--
Copy link
Member

st-- commented Mar 28, 2022

It's currently a rather slow notebook.

For example, it seems rather inefficient that we have to compute posterior(fx, y_train) all over whenever we want to plot... isn't there some way to get it once together with the gradients?

@willtebbutt
Copy link
Member

For example, it seems rather inefficient that we have to compute posterior(fx, y_train) all over whenever we want to plot... isn't there some way to get it once together with the gradients?

By this, do you mean the fact that we have to both compute the log marginal likelihood and the posterior each time that we want to plot, meaning that we're probably doing roughly double the amount of work that we need to?

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

No branches or pull requests

2 participants