JuliaStats / GLMNet.jl

Julia wrapper for fitting Lasso/ElasticNet GLM models using glmnet
Other
96 stars 35 forks source link

Allow passing `rng` to CV fold construction #49

Closed JackDunnNZ closed 3 years ago

JackDunnNZ commented 3 years ago

Currently to create folds based on a user-supplied rng, you need to reimplement the same fold construction logic. It is cleaner to be able to pass the rng in directly