Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DiscreteMarkovChain distribution #100

Merged
merged 44 commits into from
Apr 20, 2023

Commits on Dec 16, 2022

  1. Configuration menu
    Copy the full SHA
    c42c94a View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2022

  1. remove validate_transition_matrix

    validate `P` in `logp` via `check_parameters`
    Create `test_discrete_markov_chain.py`
    jessegrabowski committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    fd472bd View commit details
    Browse the repository at this point in the history
  2. remove x0 argument

    remove shape checks on x0
    add `init_dist` argument
    add support for `dtype` kwarg
    jessegrabowski committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    37ef8e0 View commit details
    Browse the repository at this point in the history
  3. Add reshape logic to rv_op based on size and init_dist

    `dims` argument now works
    
    Add tests associated with `dims`
    jessegrabowski committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    b4e15db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a3408ba View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2022

  1. Configuration menu
    Copy the full SHA
    22bfe17 View commit details
    Browse the repository at this point in the history
  2. Update pytensor alias to pt

    Remove unnecessary type handling on distributions.
    jessegrabowski committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    3aef66d View commit details
    Browse the repository at this point in the history
  3. Remove moment method

    Add `initval='prior'` as a default argument to `__new__`
    jessegrabowski committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    c2d5fc6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d77337c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    82978f0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b797af3 View commit details
    Browse the repository at this point in the history
  7. Fix scan error

    Add test for random draws
    Re-run notebook
    jessegrabowski committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    d827586 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0267801 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b7794ed View commit details
    Browse the repository at this point in the history
  10. Update pymc_experimental/distributions/timeseries.py

    Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com>
    jessegrabowski and ricardoV94 authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    ab00e6c View commit details
    Browse the repository at this point in the history
  11. Remove shape argument from default init_dist

    Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com>
    jessegrabowski and ricardoV94 authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    bfb6b43 View commit details
    Browse the repository at this point in the history
  12. Use shape parameter in example code

    Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com>
    jessegrabowski and ricardoV94 authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    ad3a878 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7912d02 View commit details
    Browse the repository at this point in the history
  14. Remove .squeeze() from scan output

    Refactor tests to account for changes to output shapes
    jessegrabowski committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    85233f6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b42184d View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. Fix batch size detection

    Fix n_state inference
    Generalize `rv_op` to allow arbitrary number of lags in markov dynamics
    jessegrabowski committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    4773aa8 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Configuration menu
    Copy the full SHA
    a2b79f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fb1e56 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    847a2f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c52191e View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2023

  1. Configuration menu
    Copy the full SHA
    ed2983f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbaa81e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ac136b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2673b12 View commit details
    Browse the repository at this point in the history
  5. Fix a bug that broke n_lags > 1

    Add tests for `n_lags` > 1
    jessegrabowski committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    b2df5a2 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2023

  1. Configuration menu
    Copy the full SHA
    daffdc8 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. rebase from main

    jessegrabowski committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    c35bc31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    170e20b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb23686 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c24a86d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee141ef View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f138cac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    66a3198 View commit details
    Browse the repository at this point in the history
  8. Fix latex in docstring

    jessegrabowski committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    10e2817 View commit details
    Browse the repository at this point in the history
  9. Apply suggestions from code review

    Use short import name in `api_reference.rst`
    
    Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com>
    jessegrabowski and ricardoV94 authored Apr 17, 2023
    Configuration menu
    Copy the full SHA
    7ef7ae6 View commit details
    Browse the repository at this point in the history
  10. Fix latex in docstring

    jessegrabowski committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    0624d2d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f07cdba View commit details
    Browse the repository at this point in the history
  12. Fix latex in docstring

    jessegrabowski committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    994e3fb View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3c96dc8 View commit details
    Browse the repository at this point in the history