Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(4)  |  Derive(0)  |  Import(6)

src/p/y/pymc-2.3.2/pymc/PyMCObjects.py   pymc(Download)
import numpy as np
from numpy import shape, size, ravel, zeros, ones, reshape, newaxis, broadcast, ndim, expand_dims
from .Node import Node, ZeroProbability, Variable, PotentialBase, StochasticBase, DeterministicBase
from . import Container
from .Container import DictContainer, ContainerBase, file_items, ArrayContainer
            if self.verbose > 0:
                raise ZeroProbability(
                    self.errmsg + ": %s" %
                    self._parents.value)
            else:
                raise ZeroProbability(self.errmsg)
            if self.verbose > 0:
                raise ZeroProbability(
                    self.errmsg + "\nValue: %s\nParents' values:%s" %
                    (self._value, self._parents.value))
            else:
                raise ZeroProbability(self.errmsg)

src/p/y/pymc-2.3.2/pymc/StepMethods.py   pymc(Download)
from .PyMCObjects import Stochastic, Potential, Deterministic
from .Container import Container
from .Node import ZeroProbability, Node, Variable, StochasticBase
from .decorators import prop
from . import distributions

src/p/y/pymc-2.3.2/pymc/InstantiationDecorators.py   pymc(Download)
from imp import load_dynamic
from .PyMCObjects import Stochastic, Deterministic, Potential
from .Node import ZeroProbability, ContainerBase, Node, StochasticMeta
from .Container import Container
import numpy as np

src/p/y/pymc-2.3.2/pymc/NormalApproximation.py   pymc(Download)
__all__ = ['NormApproxMu', 'NormApproxC', 'MAP', 'NormApprox']
 
from .Node import ZeroProbability
from .Model import Model, Sampler
from numpy import zeros, inner, asmatrix, ndarray

src/p/y/pymc-2.3.2/pymc/distributions.py   pymc(Download)
import numpy as np
from scipy.stats.kde import gaussian_kde
from .Node import ZeroProbability
from .PyMCObjects import Stochastic, Deterministic
from .CommonDeterministics import Lambda

src/p/y/pymc-2.3.2/pymc/decorators.py   pymc(Download)
import copy
from . import distributions
from .Node import ZeroProbability