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

Merge glmnetcv from Cox into main function #54

Merged
merged 2 commits into from
Dec 7, 2020
Merged

Merge glmnetcv from Cox into main function #54

merged 2 commits into from
Dec 7, 2020

Conversation

JackDunnNZ
Copy link
Collaborator

After #50, I saw some test failures on CI at random due to the RNG tests returning fits of different lengths in rare cases. I realized the Cox version of glmnetcv didn't have the same guards against the fits being different lengths.

It seemed a clean fix to merge these functions together rather than having all the cross-validation logic duplicated between them.

Resolves test failures caused by the Cox version not having the same
guards against fits of different lengths being return
@codecov-io
Copy link

codecov-io commented Dec 5, 2020

Codecov Report

Merging #54 (9f367aa) into master (f644c26) will decrease coverage by 0.26%.
The diff coverage is 90.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
- Coverage   93.53%   93.27%   -0.27%     
==========================================
  Files           3        3              
  Lines         464      446      -18     
==========================================
- Hits          434      416      -18     
  Misses         30       30              
Impacted Files Coverage Δ
src/CoxNet.jl 88.50% <ø> (-1.68%) ⬇️
src/GLMNet.jl 94.98% <87.50%> (-0.26%) ⬇️
src/Multinomial.jl 93.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f644c26...9f367aa. Read the comment docs.

Fixes #55

Fixes #56
@JackDunnNZ JackDunnNZ merged commit f0e4277 into master Dec 7, 2020
@JackDunnNZ JackDunnNZ deleted the jd/cv branch December 7, 2020 21:06
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