Skip to content

Relaxed lasso#1

Open
ntmv wants to merge 97 commits intomainfrom
relaxed_LASSO
Open

Relaxed lasso#1
ntmv wants to merge 97 commits intomainfrom
relaxed_LASSO

Conversation

@ntmv
Copy link
Owner

@ntmv ntmv commented Mar 5, 2024

No description provided.

Alexr626 added 30 commits June 19, 2023 12:40
…tly calculated testing MSEs.

TODO: calculate AIC, BIC, and other testing metrics
…sing it vs glmnet gives different final coefficient estimates.

Deleted extraneous code.
myRelaxed() seemingly functional for linear model fits, uses custom CV function such that runtime is about ~0.5 seconds.
Creating one function to run a single iteration of simulation

Creating function to run entire simulation
TODO: Clean code and refactor function such that OLS w/ LASSO and OLS on selected predictors are both fit using cross validation with identical folds
…ional task left: summarize resulting simulation table into coefficient biases and average test MSEs
…or my relaxed LASSO implementation and test-MSEs for post LASSO
…ession on practice data using glmnet

rebase with main
Alexr626 added 30 commits July 26, 2023 10:56
Changed simulation script to simulate p = 120 case with higher signal (true coefficients = 5 instead of 1)
… be specified if initial_max_grid is specified
…h a multinomial response

Changed multinom.relaxed_enet to take non-survival data
…it_cbmodel (as intended) and fixed simulation comparing it to glmnet relaxed = TRUE implementation
…et (using nnet for unpenalized fit on subsetted coefficients), changed cv implementation to fit multinomial LR on non-casebase data.
…and Nirupama's implementations

Adding new helper function script with all functions used for multinomial simulation
…iates subsetted from dataframes upon subsetting
1) Compare all attempted implementation of relaxed in multinomial setting

2) Compare correct implementation of relaxed in multinomial setting at different gamma values
… multinomial model with mtool, and calculating multinomial deviance on test set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants