Skip to content

Relaxed transform to be used on Kernel #125

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

Merged

Conversation

theogf
Copy link
Member

@theogf theogf commented Jun 22, 2020

This is already part of #38 but since it is likely to be closed and that this bug is pretty bad I put it separately here.
This fix the problem of transform(transform(SEKernel(), 2.0), 2.0).
Would not work because transform only accept BaseKernel.
Now when transform is applied on a TransformedKernel, the transform becomes a ChainTransform.

Copy link
Member

@willtebbutt willtebbutt left a comment

Choose a reason for hiding this comment

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

Minor style thing, but LGTM other than that.

@devmotion
Copy link
Member

Could we add a test for this bug?

@theogf theogf merged commit 4f017f9 into JuliaGaussianProcesses:master Jun 23, 2020
@theogf theogf deleted the transform_on_transformedkernel branch June 23, 2020 10:14
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.

3 participants