Skip to content

Small improvement to lengthscale handling #2350

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
merged 1 commit into from
Jun 26, 2017

Conversation

bwengals
Copy link
Contributor

Also changed classes to call super instead of SuperClass.__init__(self, ...)

Allows user to set multiple lengthscale parameters individually like this:

with model:
    l1 = pm.HalfCauchy("l1", beta=5)
    l2 = pm.HalfCauchy("l2", beta=5)
    cov = pm.gp.cov.ExpQuad(2, [l1, l2])

@fonnesbeck
Copy link
Member

LGTM

@ferrine
Copy link
Member

ferrine commented Jun 24, 2017

Nice:)

@twiecki twiecki added this to the 3.2 milestone Jun 25, 2017
@fonnesbeck fonnesbeck merged commit 326756e into pymc-devs:master Jun 26, 2017
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.

4 participants