InferPy icon indicating copy to clipboard operation
InferPy copied to clipboard

ImportError: cannot import name 'Bernoulli'

Open ohlmic opened this issue 6 years ago • 2 comments

Hi,

I'm trying to run some of the examples on the documentation page, but it seems like it's not possible to import the Bernoulli model. Has it been removed or am I doing something wrong perhaps?

ohlmic avatar May 02 '18 10:05 ohlmic

Unfortunately the Bernoulli distribution is not implemented yet. The implemented ones are:

['Beta', 'Categorical', 'Deterministic', 'Dirichlet', 'Exponential', 'Multinomial', 'Normal', 'Poisson', 'Uniform']

Inferpy is in a very preliminary state, so the examples in the documentation can be considered as a "road map" for the development. In the next few days we are planning to release the version 0.1.0 where this problem will be solved. We will keep you informed.

rcabanasdepaz avatar May 02 '18 14:05 rcabanasdepaz

Aha, I see! Thanks for the quick reply.

Great work with the whole InferPy project by the way!

ohlmic avatar May 02 '18 16:05 ohlmic