Skip to content
Advertisement

Tag: pymc3

Inequality Constraint for a PYMC3 Model

I want to define an inequality constraint for a PYMC3 model. I found this post about defining an equality constraint (i.e., a+b1+b2=1) using pm.Potential. Does anyone know how to change that equality constraint into an inequality constraint like 0.9<a+b1+b2<1? Thanks! Answer The post you mention uses pm.math.eq which stands for “equal”. There are also pm.math.lt (lower than) and pm.math.le (lower

Installation issues with PyMC3

I was installing PyMC3 via Anaconda. The transaction execution was done. Post this action, my Anaconda console closes immediately on open. Unable to import PyMC3 module as well. Below is the error message that pops up before the console closes. I manage to capture a screen shot of it when it momentarily flashed. I have also attached the warning I

Advertisement