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 quantile regression mode #1209

Merged
merged 29 commits into from
Oct 11, 2024
Merged

Add quantile regression mode #1209

merged 29 commits into from
Oct 11, 2024

Commits on Aug 5, 2024

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

Commits on Aug 29, 2024

  1. update type checkers

    ‘topepo’ committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    cbf636f View commit details
    Browse the repository at this point in the history
  2. avoid confusion with global all_models object

    ‘topepo’ committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    6bec5cb View commit details
    Browse the repository at this point in the history
  3. add quantile_level argument to set_mode()

    ‘topepo’ committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    5f6db8c View commit details
    Browse the repository at this point in the history
  4. initial data for quantreg

    ‘topepo’ committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    d753196 View commit details
    Browse the repository at this point in the history
  5. some initial tests

    ‘topepo’ committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    5176e86 View commit details
    Browse the repository at this point in the history
  6. fix some issues

    ‘topepo’ committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    abcd97d View commit details
    Browse the repository at this point in the history
  7. enable quantile prediction

    ‘topepo’ committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    a153df0 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. tests for quantreg

    topepo committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    6168556 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Quantile predictions output constructor (#1191)

    * small change to predict checks
    
    * add vctrs for quantiles and test, refactor *_rq_preds
    
    * revise tests
    
    * Apply some of the suggestions from code review
    
    Co-authored-by: Simon P. Couch <[email protected]>
    
    * rename tests on suggestion from code review
    
    * export missing funs from vctrs for formatting
    
    * convert errors to snapshot tests
    
    * pass call through input check
    
    * update snapshots for caller_env
    
    * rename to parsnip_quantiles, add format snapshot tests
    
    * Apply suggestions from @topepo
    
    Co-authored-by: Max Kuhn <[email protected]>
    
    * rename parsnip_quantiles to quantile_pred
    
    * rename parsnip_quantiles to quantile_pred and add vector probability check
    
    * fix: two bugs introduced earlier
    
    * add formatting tests for single quantile
    
    * replace walk with a loop to avoid "Error in map()"
    
    * remove row/col names
    
    * adjust quantile_pred format
    
    * as_tibble method
    
    * updated NEWS file
    
    * add PR number
    
    * small new update
    
    * helper methods
    
    * update docs
    
    * re-enable quantiles prediction for #1203
    
    * update some tests
    
    * no longer needed
    
    * use tibble::new_tibble
    
    * braces
    
    * test as_tibble
    
    * remove print methods
    
    ---------
    
    Co-authored-by: Simon P. Couch <[email protected]>
    Co-authored-by: Max Kuhn <[email protected]>
    Co-authored-by: ‘topepo’ <‘[email protected]’>
    4 people authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    3bdb471 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. quantile regression updates for new hardhat model (#1207)

    * bump hardhat version
    
    * remove parts now in hardhat
    
    * update for new hardhat version
    
    * quantile_levels (plural now)
    
    * news update
    
    * typo
    
    * rename helper function
    
    * run CI on PRs from branches
    
    * forgotten remote
    
    * actions for edited PRs
    
    * plural
    
    * expand branch list
    
    * export function for censored to use
    
    * updated snapshot
    
    * remake snapshot
    
    * Revert "remake snapshot"
    
    This reverts commit 954e326.
    
    * updated snapshot
    
    * Update R/arguments.R
    
    Co-authored-by: Hannah Frick <[email protected]>
    
    * typo
    
    * changes from reviewer feedback
    
    ---------
    
    Co-authored-by: ‘topepo’ <‘[email protected]’>
    Co-authored-by: Hannah Frick <[email protected]>
    3 people authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    bef131b View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Change to quantile argument to quantile levels (#1208)

    * quantile -> quantile_levels for #1203
    
    * defer test until censored updates in new PR
    
    * update docs for quantile_levels
    
    * update test
    
    * disable quantile predictions for surv_reg
    
    ---------
    
    Co-authored-by: ‘topepo’ <‘[email protected]’>
    topepo and ‘topepo’ authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    861a64a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db551ff View commit details
    Browse the repository at this point in the history
  3. post conflict merge updates

    topepo committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    44ebdf7 View commit details
    Browse the repository at this point in the history
  4. update news

    topepo committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    481dbc3 View commit details
    Browse the repository at this point in the history
  5. version bump and fix typo

    topepo committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    69e754e View commit details
    Browse the repository at this point in the history
  6. revert GHA branches

    topepo committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    9ebcae0 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. small bug fix

    ‘topepo’ committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    2fcedb9 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Apply suggestions from code review

    Co-authored-by: Hannah Frick <[email protected]>
    Co-authored-by: Emil Hvitfeldt <[email protected]>
    3 people authored Oct 10, 2024
    Configuration menu
    Copy the full SHA
    58025ca View commit details
    Browse the repository at this point in the history
  2. don't export median

    topepo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    a870db4 View commit details
    Browse the repository at this point in the history
  3. add call arg

    topepo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    f5442a7 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'quantile-mode' of https://github.com/tidymodels/parsnip

    …into quantile-mode
    topepo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    76d4ff6 View commit details
    Browse the repository at this point in the history
  5. added documentation on model

    topepo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    4db8ca6 View commit details
    Browse the repository at this point in the history
  6. add mode

    topepo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    603f47a View commit details
    Browse the repository at this point in the history
  7. convert error to warning

    topepo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    d8cae62 View commit details
    Browse the repository at this point in the history
  8. remove rankdeficient

    topepo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    07513b6 View commit details
    Browse the repository at this point in the history
  9. added skip

    topepo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    b8fe3a1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d88543c View commit details
    Browse the repository at this point in the history
  11. remove numeric prediction

    topepo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    46fa0db View commit details
    Browse the repository at this point in the history