Skip to content

Standardize pymc import #367

Closed
Closed
@zonca

Description

@zonca

I think it would be useful to standardize how pymc should be imported. Currently most of the examples and also the pymc3 tutorial use:

from pymc import *

Of course this should be discouraged, and it would be useful to choose a standard shortcut import.
I suggest using:

import pymc as mc

It is used by Bayesian Methods for Hackers which I guess is one of the most common ways new users start using pymc.

If there is agreement on this, it would be useful to prepare a PR with standardization of the examples and tutorial (I can do this if nobody else volunteers).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions