File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
|Build Status | |Coverage | |NumFOCUS_badge | |Binder | |Dockerhub |
7
7
8
+ .. warning ::
9
+ This is the legacy version of PyMC3, now renamed to PyMC.
10
+ If you are looking for the latest version of PyMC, please visit
11
+ `PyMC's documentation <https://www.pymc.io/welcome.html >`__
12
+
13
+
8
14
PyMC3 is a Python package for Bayesian statistical modeling and Probabilistic Machine Learning
9
15
focusing on advanced Markov chain Monte Carlo (MCMC) and variational inference (VI)
10
16
algorithms. Its flexibility and extensibility make it applicable to a
Original file line number Diff line number Diff line change 52
52
handler = logging .StreamHandler ()
53
53
_log .addHandler (handler )
54
54
55
+ _log .warning ("The version of PyMC you are using is very outdated.\n \n Please upgrade to the latest "
56
+ "version of PyMC https://www.pymc.io/projects/docs/en/stable/installation.html\n \n "
57
+ "Also notice that PyMC3 has been renamed to PyMC."
58
+ )
55
59
56
60
def _check_backend_version ():
57
61
backend_paths = theano .__spec__ .submodule_search_locations
Original file line number Diff line number Diff line change @@ -434,10 +434,16 @@ def sample(
434
434
mean sd hdi_3% hdi_97%
435
435
p 0.609 0.047 0.528 0.699
436
436
"""
437
+ _log .info ("The version of PyMC you are using is very outdated.\n \n Please upgrade to the latest "
438
+ "version of PyMC https://www.pymc.io/projects/docs/en/stable/installation.html\n \n "
439
+ "Also notice that PyMC3 has been renamed to PyMC."
440
+ )
441
+
437
442
# Handle deprecated/forwards-compatible kwargs
438
443
if initvals is not None :
439
444
start = initvals
440
445
446
+
441
447
model = modelcontext (model )
442
448
start = deepcopy (start )
443
449
if start is None :
You can’t perform that action at this time.
0 commit comments