This project is mirrored from Pull mirroring updated .
  1. 21 Sep, 2020 1 commit
  2. 20 Sep, 2020 1 commit
  3. 19 Sep, 2020 2 commits
  4. 18 Sep, 2020 2 commits
  5. 17 Sep, 2020 7 commits
  6. 16 Sep, 2020 2 commits
  7. 15 Sep, 2020 2 commits
    • Eelke Spaak's avatar
      adding meaningful str representations to PyMC3 objects (#4076) · 9eb69fc6
      Eelke Spaak authored
      * adding unit tests for new __str__ functionality
      * use get_var_name instead of str to get variable name
      * adding semantically meaningful __str__
      * correcting import syntax error
      * patch type of Deterministic to ensure proper handling of str()
      * adding test for tuning.starting.allinmodel
      * more precise exception checks in unit test
      Co-authored-by: default avatarMarco Gorelli <>
      Co-authored-by: default avatarMarco Gorelli <>
    • Greg Mingas's avatar
      Add MLDA stepper (#3926) · 07b584a1
      Greg Mingas authored
      * Add basic MLDA-MCMC algorithm (proposal and step method)
      * Add example scripts for MLDA
      * Make coarse_models kwarg into a normal argument
      * Fix docstring in MLDA class
      * Fix examples code style/comments
      * Remove redundant code, improve comments
      * Make MLDA do block sampling by default
      * Add new MLDA example with FEniCS black box component
      * Small change in readme
      * Add run instructions in readme
      * Change example parameters in sample()
      * Minor changes and comments
      * Add extra parameters in readme
      * Number of chains change
      * Make changes to mlda example parameters, go back to compound sampling for mlda by default, edit readme accordingly
      * Updated the FEniCS code so it's more efficient
      * Add eigenpairs projection and change input parameters
      * Edit readme to reflect projection function
      * Add compound step support and improve
      * Update readme
      * Add new tests tests, most of them failing
      * Fix test_types bug
      * Refactoring of MLDA to allow retaining all methods information
      * Add more tests
      * Pass more parameters to Metropolis init
      * Complete tuning continuation, add basic block/coumpound parameter
      * Remove some mlda if statements and simplify other parts
      * Change example parameters
      * Add and fix tests
      * Add some comments and remove redundant code
      * Add xfail to test_models_utils test when new pandas version are used
      * Add description to test_examples for multilevel normal example
      * Remove xfail related to pandas in test_models_utils, remove redundant function from test_step
      * Try removing failing test
      * Remove redundant code
      * Skip some failing tests
      * Add sine wave test in test_examples
      * Change true parameters index
      * Fix index j in coarse models loop to avoid warning
      * Remove sine test
      * Remove unused library
      * Improve docstrings and remove some redundant code/comments
      * Revert some pointless changes to tests
      * Fix style
      * Add notebook example and utility code
      * Remove old mlda example and update notebook
      * Update notebook again
      * Change the citation and add a use example to the MLDA docstring
      * Change competence to be incompatible with discrete vars, remove discrete var detection code from MLDA init
      * Add young warning and change default subsampling value
      * Add more comments, change sys.exit to exception, change tests to reflect that, convert coarse_models to positional argument in MLDA
      * Add is_mlda_flag to prevent tuning reset when Metropolis is used as the base sampler of MLDA
      * Add more extensive docstrings
      * Re-run and re-render notebook after changes
      * Add tuning for tune and scaling and refactor some parameter names to be consistent with what they represent
      * Regenerate notebook and add .py version of it
      * Delete notebook with old name
      * Fix pylint errors, move .py example, fix failing test
      * Add computer specs to notebook
      * Change class checks to using isinstance
      * Add more tests for stats, competence, etc and fix bug with tune flag not being overriden in compound sub-methods
      * Remove duplicate sample_except()
      * Move is_mlda_base checks for reseting inside Metropolis' reset_tuning()
      * Add DEMetropolis to notebook
      * Add MLDA groundwater flow notebook which uses blocked samplers only
      * Add comparison with DEMCMC-Z amd longer runs for convergence in example notebook
      * Add separate subsampling rates
      * Edit docstring
      * Fix handling of one integer for subsampling rate
      * Add tests and change subsampling argument name in examples/tests
      * Add notebook with extra benchmarks and tuning demo
      * Change subsampling rate to rates in notebook examples (including new benchmarking one)
      * Do not count stuck proposals from lower chain as accepted
      * Convert base_scaling stats to one stat of type object, modify tests for stats and also test for declining acceptance rate
      * Fix pm.DensityDist in notebooks/scripts by replacing with pm.Potential
      This is done because of the bug described in The commit also changes a few parameters in the MLDA .py example to match the ones in the equivalent notebook.
      * Move MLDA and RecursiveDAProposal classes to new file, add a new MetropolisMLDA class which inherits Metropolis and just alters the reset_tuning function, modify test_step and __init__ files accordingly
      * Remove MLDA notebooks and .py example script, remove code that uses fenics and delete reference to example from MLDA class docstring
      * Blacken MLDA code and tests, separate MLDA type tests from other methods, fix some stylistic issues
      * Add simple linear regression notebook which can serve as MLDA starting point for new users
      * Modify some comments in the simple notebook and re-run
      * Add typing to
      * Connect the two separate strings in
      * Modify simple linear regression notebook: coarse model uses subset of data, more comments, performance comparison with Metropolis
      * Add more comments, format using PyMC3 NB style guide (blacken, watermark, arviz style, imports, etc)
      * Add simple regression notebook to table of examples
      * Add gravity surveying notebook
      * Add MLDA line in 3.9.x release notes
      * Edit notebook imports to adhere to nbqa-isort rules
      * Add gravity notebook to table of contents
      Co-authored-by: default avatarMikkel Lykkegaard <>
  8. 14 Sep, 2020 2 commits
  9. 13 Sep, 2020 2 commits
  10. 10 Sep, 2020 1 commit
  11. 07 Sep, 2020 3 commits
  12. 06 Sep, 2020 1 commit
  13. 05 Sep, 2020 1 commit
  14. 04 Sep, 2020 2 commits
  15. 03 Sep, 2020 1 commit
  16. 02 Sep, 2020 1 commit
  17. 01 Sep, 2020 2 commits
  18. 30 Aug, 2020 2 commits
  19. 27 Aug, 2020 2 commits
  20. 25 Aug, 2020 1 commit
    • Alexandre ANDORRA's avatar
      Update Mauna Loa Notebooks (#4041) · 9da57acd
      Alexandre ANDORRA authored
      * Fixed typos and reran first models in Mauna Loa 2
      * Fixed typos and reran whole Mauna Loa NB
      * Blackified Mauna Loa NB
      * Ran last super long model
      * Finished updating Mauna Loa 2 NB
      * Blackified Mauna Loa 2 NB
  21. 21 Aug, 2020 1 commit
    • rpgoldman's avatar
      Cosmetic fixes to getting started notebook. (#4062) · bf8f0bcd
      rpgoldman authored
      * Cosmetic fixes to getting started notebook.
      There were some problems with the version on the PyMC3 docs site.
      Fixed some warnings.  Tidied up some markup (some of which didn't seem to process properly on gh pages), and added a note explaining about pm.Deterministic
      * Improve date plot.
      Very ugly way to keep xticklabels from crashing into each other. Not sure if this is the right thing, or if ArviZ should be fixed to automatically format date-times better.
      * Add example of pm.Deterministic
      Thanks to @AlexAndorra.
  22. 17 Aug, 2020 1 commit
    • Amit Kushwaha's avatar
      Update Pymc3_tips_and_heuristics notebook (#4036) · 049187f0
      Amit Kushwaha authored
      * 1) Fixed: FutureWarnings
      2) Updated the notebook to follow the consistent style
      3) Use arviz functions directly for plotting on inference data
      Fromat the notebook in Black-format
      Minor formatting
      minor change to execute last cell
      Minor text changes.
      Renaming file
      update the filename in the doc: PyMC3_tips_and_heuristic.ipynb to conditional-autoregressive-model.ipynb
      Minos change to remove .ipynb from the name
      Move conditional-autoregressive-mode.ipynb from tutorial "How-To" to examples "Gaussian Processes"
      * Move the data to csv file (scotland_lips_cancer.csv) instead being hard-coded in conditional-autoregressive-model.ipynb
      * Read data from csv file instead of the hardcoded version in notebook.