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 move_quantile function #418

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Commits on Sep 13, 2022

  1. Add moving quantile

    Implementation of moving quantile instead of moving median, which is a partial case of quantile. For now using the fixed constant in #define
    andrii-riazanov committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    524afbf View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

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

Commits on Sep 15, 2022

  1. Configuration menu
    Copy the full SHA
    e470fa2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c97aac View commit details
    Browse the repository at this point in the history
  3. Change all move_median to move_quantile

    Add quantile and has_quantile parameters to the template
    andrii-riazanov committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    10b8824 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c718a18 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

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

Commits on Sep 17, 2022

  1. Initial tests and some fixes

    Added all imports
    Fixed a bug when q=1. Call move_max for this case (on python layer)
    Added a lot of tests for move_median and move_quantile
    andrii-riazanov committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    832035a View commit details
    Browse the repository at this point in the history
  2. Finish extensive testing of move_quantile

    Fix keyword argument "method"/"interpolation" for different
    numpy verisons (keyword was changed after 1.22.0)
    Copy over doc string for move_quantile from C layer to Python layer
    andrii-riazanov committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    7af7168 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42eddad View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Configuration menu
    Copy the full SHA
    c2a2ae3 View commit details
    Browse the repository at this point in the history
  2. Revert "move_quantile(q=0) vs move_min benching"

    This reverts commit c2a2ae3.
    
    move_min is significanlty faster than move_quantile with q = 0. So in case of
    q=0 apply move_min instead. Same for q=1 and move_max.
    andrii-riazanov committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    9f4c5dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9447697 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de181da View commit details
    Browse the repository at this point in the history
  5. Bring old move_median, add move_quantile separately

    Instead of move_quantile substituting move_median completely,
    have both move_median and move_quantile implemented
    separately.
    andrii-riazanov committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    02a0ce1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cd49b4f View commit details
    Browse the repository at this point in the history
  7. Move move_quantile to C level fully

    Remove the wrapper for move_quantile
    on python level which checked for
    q = 0 or 1. Now it's fully in C.
    Also check for q=0.5 as we checked
    it's 3-4% faster to call move_median
    andrii-riazanov committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    fcaefde View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. Refactor parse_args function in move_template

    Add some more tests
    andrii-riazanov committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    1bddedd View commit details
    Browse the repository at this point in the history
  2. Add docs and comments

    andrii-riazanov committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    7a413cb View commit details
    Browse the repository at this point in the history
  3. Update move_test.py

    Remove redundant import
    andrii-riazanov authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    6851ed2 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. Configuration menu
    Copy the full SHA
    97ecd15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7d5c22 View commit details
    Browse the repository at this point in the history
  3. Refactor parse_args again to actually work

    Mostly get rid of macros
    andrii-riazanov committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    5a2bcac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c390863 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6f1e5d4 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Change packaging module to pkg_resources

    for versions comparison
    andrii-riazanov committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    7f1c3af View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

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

Commits on Sep 28, 2022

  1. Make mm_handle and mq_handle the same

    This eliminate the need for macro in move_median.c
    mm_handle will just have an unused membet "quanitle"
    for the case of move_median.
    andrii-riazanov committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    9012e24 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Median and quantile with function pointers

    move_median and move_quantile now have all the same
    functions except for the construction of mm/mq.
    andrii-riazanov committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    72677f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2022

  1. Configuration menu
    Copy the full SHA
    2c892db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    654ab14 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

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

Commits on Mar 19, 2023

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

Commits on Apr 11, 2023

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