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

Fix ssr #559

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

Fix ssr #559

wants to merge 5 commits into from

Commits on Sep 18, 2024

  1. fix(ssr): Reconcile indexing for history_ and err_history_

    Index alignment between coefficient and error histories was thrown off because
    BaseOptimizer initializes history with an unregularized regression, used in
    iterative nonconvex regressions.  However, SSR does not require an initial
    guess.
    
    This commit removes the initial guess from SSR history_ and adds a test.
    Jacob-Stevens-Haas committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c66f991 View commit details
    Browse the repository at this point in the history
  2. tst: Modified SSR test to find a sparse model

    Previously, SSR has simply been finding the 0-sparsity model.  Instead of the
    algorithm in the paper, it was executing a Bayes Information Criterion-like
    model selection, but with a very low l0 penalty.
    
    This test asserts #532
    Jacob-Stevens-Haas committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    01ebb09 View commit details
    Browse the repository at this point in the history
  3. fix(ssr): Select model by error inflection point

    Closes #532
    
    This commit implements the inflection point criteria from the SSR paper,
    although still measuring training loss, rather than cross validation loss.
    Jacob-Stevens-Haas committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    329a676 View commit details
    Browse the repository at this point in the history
  4. fix (ssr): Re-implement l0-based model seletion option

    Also change test to use better-conditioned feature library, since l0 penalty
    is based upon condition number.
    
    Also, fix use of inflection point model selection.  Because error history is
    reversed before calculating inflection index, index is from the end of the list
    
    Also, extract calculating the index of inflection in SSR (+ tests)
    Jacob-Stevens-Haas committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    49fdfc4 View commit details
    Browse the repository at this point in the history
  5. fix(ssr): Include full model in model selection list.

    Also, hack SSR through tests that provide single-feature data in the same
    way that trapping was handled.
    Jacob-Stevens-Haas committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    18bac4f View commit details
    Browse the repository at this point in the history