Closed
Description
Description of your problem
with model:
trace = pm.sample(500, core=4, target_accept=0.95)
This code raises no exception or warning despite core
and target_accept
are unused arguments. This code won't have the intended effect and is hard to debug. The desired behaviour would be to raise a warning or an exception when unused arguments are passed.
For the record, the corrected code is:
with model:
trace = pm.sample(500, cores=4, nuts_kwargs=dict(target_accept=0.95))
Versions and main components
- PyMC3 Version: 3.5
- Theano Version:
- Python Version: 3.6
- Operating system: Windows
- How did you install PyMC3: conda